<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1134837421;
        mso-list-template-ids:1155047210;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Rachel,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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).  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just confirmed the same behavior in the sandbox:  <a href="http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields%5b%5d=type_enum_s&filter_values%5b%5d=box">
http://test.archivesspace.org/repositories/12/resources/258/inventory?<span style="background:yellow;mso-highlight:yellow">&filter_fields[]=type_enum_s&filter_values[]=box</span></a>  If you click on page 2 from there, the link is
<a href="http://test.archivesspace.org/repositories/12/resources/258/inventory?&page=2">
http://test.archivesspace.org/repositories/12/resources/258/inventory?&page=2</a>, as you noted, instead of
<a href="http://test.archivesspace.org/repositories/12/resources/258/inventory?&filter_fields%5b%5d=type_enum_s&filter_values%5b%5d=box&page=2">
http://test.archivesspace.org/repositories/12/resources/258/inventory?<span style="background:yellow;mso-highlight:yellow">&filter_fields[]=type_enum_s&filter_values[]=box</span>&page=2</a>.    <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’d say report it in JIRA and hopefully it’s something that can be fixed in time for the next release.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Rachel Trent<br>
<b>Sent:</b> Monday, 02 July, 2018 6:51 PM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org<br>
<b>Subject:</b> [Archivesspace_Users_Group] Bug? Public interface Container Inventory pagination + facets<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi folks,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here's an example from GW: <o:p></o:p></p>
</div>
<div>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
Go to the <a href="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">
AAUP resource record</a><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
Navigate to the <a href="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">
Collection Inventory tab</a><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
<a href="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">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"</a><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:0in;mso-list:l0 level1 lfo1">
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=#<o:p></o:p></li></ol>
</div>
<div>
<p class="MsoNormal">We couldn't find the issue reported in Jira.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Rachel<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Rachel Trent<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Digital Services Manager<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Special Collections Research Center<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Gelman Library,  George Washington University<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">2130 H Street NW</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Washington DC 20052</span><span style="font-size:9.5pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">202.994.4824<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><a href="mailto:racheltrent@gwu.edu" target="_blank">racheltrent@gwu.edu</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>