archivesspace-plugins / lcnaf

6 stars 3 forks source link

Pagination breaks if the search term includes an apostrophe #10

Open fordmadox opened 2 years ago

fordmadox commented 2 years ago

Example search: "St. George's Hospital (London, England)"

19 results, but you can't use the Next button to go to page 2.

A search for "St. George Hospital (London, England)", however, works fine.

fordmadox commented 2 years ago

@quoideneuf : just an FYI. this would be a very low priority issue, but I wanted to log it since I just figured out what was causing the Next button not to work occasionally. I haven't investigated any future, beyond figuring out how to replicate the issue that was reported to me.

Hope all is well, and happy 2022!

fordmadox commented 2 years ago

I also just realized that I should've filed this issue here: https://github.com/archivesspace/archivesspace/issues. Sorry about that, but hopefully GitHub allows you to move across the organizations. If not, let me know and I can delete this one and add it where it belongs.

fordmadox commented 1 year ago

Now that this plugin is a submodule, it looks like I filed the issue in the right place! :)

I also just re-tested this, and the Next button still does NOT work if the original search string has an apostrophe.