Modifies our previously customized code for the new books dropdown
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 23 Jul 2019 20:55:20 +0000 (16:55 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 16 Mar 2020 21:15:49 +0000 (17:15 -0400)
list so that it limits what is retrieved in the new books supercat
feeds by available statuses only.

Open-ILS/src/templates/opac/parts/org_selector.tt2

index 11fba81..c0b7fa9 100644 (file)
@@ -161,7 +161,7 @@ BLOCK build_org_selector_newitems;
             title='[% arialabel || l("Select Library") %]' 
             class="org_selector_dropdown"
             onchange="location = '/opac/extras/browse/html-full/item-age/' + 
-                this.options[this.selectedIndex].value + '/1/20';">
+                this.options[this.selectedIndex].value + '/1/20?status=0&status=1&status=5&status=7;'">
     <option value="" class="org_unit" disabled selected="selected">Choose a library to see newly purchased items</option>
     [%- 
         WHILE node_stack.size > 0;