Convert search parameters in a custom list editor state to a search query URL.

  • Parameters

    • state: CustomListEditorState

      The custom list editor state

    • library: string

      The short name of the library that contains the list being edited

    Returns string

    The URL, or null if the custom list editor state does not contain either query terms or an advanced search query.