Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T127 Advanced Search Page #551

Merged
merged 49 commits into from
Apr 26, 2024
Merged

T127 Advanced Search Page #551

merged 49 commits into from
Apr 26, 2024

Conversation

maxturer
Copy link
Contributor

@maxturer maxturer commented Apr 26, 2024

Includes:

  • Creation & styling of advanced search page
  • Implementation of Chosen JS library on search page via chosen-rails gem
  • Addition of sassc-rails gem over deprecated sass-rails
  • Restructuring of navigation bar to accommodate "Advanced" button
  • Misc edits to homepage CSS needed to work with new navbar HTML

To test:

  • Visit /advanced through clicking the "Advanced" button in the navbar.
  • Perform a search using the free-form search fields on the left side of the page (All Fields, Creator, Title, Abstract or Summary and/or Keyword) - ensure results in catalog match search.
  • Perform a search using the Date Created search fields on the left side of the page - ensure results in catalog have dates of creation between the set dates.
  • Perform a search using the additional filters search fields on the right side of the page to narrow search by facets - ensure results in catalog match search.

@alepbloyd alepbloyd marked this pull request as ready for review April 26, 2024 16:55
Copy link
Contributor

@dolsysmith dolsysmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • When changing the sort option (in the dropdown at the bottom of the Advanced Search screen), it triggers the search immediately, which feels a little counterintuitive to me.

Everything else looks good to me. Results are as expected (admittedly using a database with only 20 or so works); the date range works; no errors in the logs.

@maxturer
Copy link
Contributor Author

That's a little odd, you're right. I suppose that's the sort behavior elsewhere in blacklight, though. What do you think of removing the option to sort from this page?

@dolsysmith
Copy link
Contributor

I think that makes sense.

@maxturer
Copy link
Contributor Author

Alright, removed it!

@maxturer maxturer merged commit 3191b25 into master Apr 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants