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

update advanced search for new Drupal "once" function #41

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

joshdentremont
Copy link
Contributor

What does this Pull Request do?

Replaces calls to Jquery once with Drupal once function.

After fixing that, we had some issues with the sorting not working. The second and third commits address this. The second commit fixes an Ajax error, and the third commit stops the function from being called twice when the sort dropdown changes.

What's new?

There should be no changes to functionality. This just replaces some deprecated functions.

How should this be tested?

  • Create a new Drupal 10 site with the starter site.
  • Add some content
  • Try sorting on the search results to see JS errors in console
  • Swap out advanced search for this PR and try sorting again

Documentation Status

No documentation changes needed

Additional Notes:

N/A

Interested parties

@Islandora/committers

@aOelschlager aOelschlager self-requested a review October 10, 2023 19:51
@rosiel rosiel self-requested a review October 11, 2023 17:25
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.

2 participants