Adds the 'Show All Copies' and 'Show Only Available Copies' to the Bootstrap
Opac's copy screen.
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
copies = copies.merge(units);
END;
END;
+available=ctx.available;
FOREACH copy_info IN copies;
IF copy_info.call_number_label != '##URI##';
</form>
[% END %]
[% END %]
+
+<div class="mt-3">
+[% IF available == 'true'; %]
+ <a href="[% mkurl('', {available => 'false' }) %]">
+ [% l('Show All Copies') %]
+ </a>
+[% END %]
+[% IF available == 'false'; %]
+ <a href="[% mkurl('', {available => 'true' }) %]">
+ [% l('Show Only Available Copies') %]
+ </a>
+[% END %]
+
<table class="container-fluid table table-hover mt-4 miniTable copyTable w-100" >
<thead>
<tr>