[Archivesspace_Users_Group] Bug? Public interface Container Inventory pagination + facets

Custer, Mark mark.custer at yale.edu
Tue Jul 3 09:27:21 EDT 2018


Rachel,

Yep, it looks like that’s a new bug that you’ve uncovered and diagnosed (I’ve also seen something strange happening with the container3/grandchild container filters on those pages, but I haven’t gone back to investigate what’s going on there just yet).

I just confirmed the same behavior in the sandbox:  http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields[]=type_enum_s&filter_values[]=box<http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields%5b%5d=type_enum_s&filter_values%5b%5d=box>  If you click on page 2 from there, the link is http://test.archivesspace.org/repositories/12/resources/258/inventory?&page=2, as you noted, instead of http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields[]=type_enum_s&filter_values[]=box&page=2<http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields%5b%5d=type_enum_s&filter_values%5b%5d=box&page=2>.

I’d say report it in JIRA and hopefully it’s something that can be fixed in time for the next release.

Mark



From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Rachel Trent
Sent: Monday, 02 July, 2018 6:51 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Bug? Public interface Container Inventory pagination + facets

Hi folks,

We think we found a bug, and would like to check with the community that it's in scope to report (aka, that it's really a bug, it's not specific to us, and it's not already been reported).

In the public interface, the pagination links on a resource record's Container Inventory tab don't seem to play well with the facets. If someone filters containers by a facet, the pagination links don't include the facet filters.

Here's an example from GW:

  1.  Go to the AAUP resource record<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Farchivesspace.library.gwu.edu%3A8081%2Frepositories%2F2%2Fresources%2F253&data=02%7C01%7Cmark.custer%40yale.edu%7C874a35da24bd480c442c08d5e06e76d9%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C636661687425585913&sdata=r7ErheJQfgQ1xY9tYur24kh4zvO5miE9ufd50UOttak%3D&reserved=0>
  2.  Navigate to the Collection Inventory tab<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Farchivesspace.library.gwu.edu%3A8081%2Frepositories%2F2%2Fresources%2F253%2Finventory&data=02%7C01%7Cmark.custer%40yale.edu%7C874a35da24bd480c442c08d5e06e76d9%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C636661687425595925&sdata=1mA1K98xJ%2F5a%2BYzhKxCAO2zbISCkGJOWCjXsWnSjuJ0%3D&reserved=0>
  3.  Filter by any facet values: for example, filter to just boxes in the series "Committee A on Academic Freedom and Tenure case files, 1915-2013"<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Farchivesspace.library.gwu.edu%3A8081%2Frepositories%2F2%2Fresources%2F253%2Finventory%3F%26filter_fields%5B%5D%3Dtype_enum_s%26filter_values%5B%5D%3DBox%26filter_fields%5B%5D%3Dpublished_series_title_u_sstr%26filter_values%5B%5D%3DCommittee%2BA%2Bon%2BAcademic%2BFreedom%2Band%2BTenure%2Bcase%2Bfiles%252C%2B1915-2013&data=02%7C01%7Cmark.custer%40yale.edu%7C874a35da24bd480c442c08d5e06e76d9%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C636661687425605933&sdata=132hNiXAnJXXsXb%2FmE0chuJqlDTucoirTc4Crm8RihQ%3D&reserved=0>
  4.  You'll see at the bottom that as of today, there are 17 pages of results. One would expect that the URL to page 2 of the results would be a link to page 2 of the same search, with the facet filters in place. Instead, the link is to: [base URL]/repositories/#/resources/#/inventory?&page=#
We couldn't find the issue reported in Jira.

Thanks!
Rachel

Rachel Trent
Digital Services Manager
Special Collections Research Center
Gelman Library,  George Washington University
2130 H Street NW
Washington DC 20052
202.994.4824
racheltrent at gwu.edu<mailto:racheltrent at gwu.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180703/f73234b4/attachment.html>


More information about the Archivesspace_Users_Group mailing list