performant-software / Annotation-Studio

An online annotation platform for teaching and learning in the humanities.
http://www.annotationstudio.org
GNU General Public License v2.0
5 stars 1 forks source link

As an anthology owner, I want to select documents from later pages of search results #415

Closed jamiefolsom closed 1 year ago

jamiefolsom commented 2 years ago

Bug/UX fix: If you do a search with more than one page of results and you pick items on anything but the first page of results you are brought to the first page after selection rather than to the page you are on.

camdendotlol commented 2 years ago

I think the best way to handle this is adjusting the redirect_to documents_path line in the document controller.

The view can send the current page as a param to the anthology_add method, then anthology_add can use the page param when redirecting.

One possible complication would be if any other page is using that partial view. As far as I can tell, this isn't being used anywhere else, but I've bumped up the estimate to be safe.

Estimate: 4 hours

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

camdendotlol commented 1 year ago

Completed in #418