Save search parameters with auto-updating lists. #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This sends the media type and sort order parameters when saving auto updating lists. Previously, only the advanced search query was sent.
Motivation and Context
This allows the CM to exactly reproduce the search that was configured by the user when editing a list in the admin UI. In the UI, the user is able to select a media type (all, book, audio) and a sort order (relevance, title, author), in addition to an advanced search query. These all affect the search results. (Somewhat non-intuitively, setting the sort order to title or author changes the search results, because a relevance cut-off is automatically applied.)
This finishes off https://www.notion.so/lyrasis/Admin-UI-Automatically-add-new-titles-to-list-when-they-match-search-parameters-b86ceeffe55d4628b822e661eb992544. (There is some discussion of this in the comments of that ticket).
How Has This Been Tested?
Checklist: