TACC / Core-CMS

The Core CMS codebase used by TACC Portals.
https://cep.tacc.utexas.edu
2 stars 1 forks source link

feat: wp-333 SEARCH_PATH setting #743

Closed wesleyboar closed 10 months ago

wesleyboar commented 10 months ago

Overview

Set search URL path via new setting SEARCH_PATH.

Related

Changes

Testing

  1. Have a CMS with a Portal. Even ECEP, which has Portal scaffolding; and is actually the target client.
  2. Create a test search page in the CMS at a URL with a slug other than search.
  3. Use the search bar to search for "anything".
  4. Verify you are directed to the CMS test page for search.
  5. Verify the query parameter for the search is set to "anything".

UI

Screenshot 2023-11-07 at 2 37 08 PM

https://github.com/TACC/Core-CMS/assets/62723358/ec334ce6-308c-44d5-a673-8c83bac640d5