@@ -, +, @@ sortable - Log in to the OPAC as a user who can place holds. - Search the catalog for items which will accept item-level holds. - Place a hold on one of the results, and click the "Show more options" link on the holds page. - Check the "specific item" radio button. - A table of items should be displayed. Confirm that the table is sortable. - Perform the same test when placing a hold on multiple titles. Confirm that each table of items is sortable. --- .../bootstrap/en/modules/opac-reserve.tt | 185 +++++++++--------- 1 file changed, 97 insertions(+), 88 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -345,108 +345,111 @@ [% IF bibitemloo.itemholdable %]
Copy number | - [% IF ( item_level_itypes ) %] -Item type | - [% END %] -Barcode | - [% UNLESS ( singleBranchMode ) %] -Home library | -Last location | - [% END %] - [% IF ( itemdata_ccode ) %] -Collection | - [% END %] -Call number | - [% IF ( itemdata_enumchron ) %] -Vol info | - [% END %] -Information | -|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- [% IF ( itemLoo.available ) %] - - [% ELSE %] - - - [% END %] - - [% IF ( itemLoo.copynumber ) %] - [% itemLoo.copynumber | html %] - [% END %] - | - + +|||||||||||||||||
Copy number | [% IF ( item_level_itypes ) %] -- [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] - [% IF ( itemLoo.imageurl ) %] - - [% END %] - [% END %] - [% itemLoo.translated_description | html %] - | +Item type | [% END %] - -[% itemLoo.barcode | html %] | +Barcode | [% UNLESS ( singleBranchMode ) %] -[% Branches.GetName( itemLoo.homeBranchName ) | html %] | -[% Branches.GetName( itemLoo.holdingBranchName ) | html %] | +Home library | +Last location | [% END %] [% IF ( itemdata_ccode ) %] -[% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemLoo.ccode, opac => 1 ) | html %][% END %] | +Collection | [% END %] -[% itemLoo.callNumber | html %] | +Call number | [% IF ( itemdata_enumchron ) %] -[% itemLoo.enumchron | html %] | +Vol info | [% END %] -- [% IF ( itemLoo.dateDue ) %] - Due [% itemLoo.dateDue | html %] - [% ELSIF ( itemLoo.transfertwhen ) %] - In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %] - [% END %] + | Information | +|
+ [% IF ( itemLoo.available ) %] + + [% ELSE %] + + + [% END %] + + [% IF ( itemLoo.copynumber ) %] + [% itemLoo.copynumber | html %] + [% END %] + | - [% IF ( itemLoo.message ) %] - Unavailable (lost or missing) + [% IF ( item_level_itypes ) %] ++ [% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] + [% IF ( itemLoo.imageurl ) %] + + [% END %] + [% END %] + [% itemLoo.translated_description | html %] + | [% END %] - [% IF ( itemLoo.notforloan ) %] - Not for loan ([% itemLoo.notforloanvalue | html %]) +[% itemLoo.barcode | html %] | + [% UNLESS ( singleBranchMode ) %] +[% Branches.GetName( itemLoo.homeBranchName ) | html %] | +[% Branches.GetName( itemLoo.holdingBranchName ) | html %] | + [% END %] + [% IF ( itemdata_ccode ) %] +[% IF ( itemLoo.ccode ) %][% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => itemLoo.ccode, opac => 1 ) | html %][% END %] | + [% END %] +[% itemLoo.callNumber | html %] | + [% IF ( itemdata_enumchron ) %] +[% itemLoo.enumchron | html %] | [% END %] ++ [% IF ( itemLoo.dateDue ) %] + Due [% itemLoo.dateDue | html %] + [% ELSIF ( itemLoo.transfertwhen ) %] + In transit from [% Branches.GetName( itemLoo.transfertfrom ) | html %] to [% Branches.GetName( itemLoo.transfertto ) | html %] since [% itemLoo.transfertwhen | html %] + [% END %] - [% IF ( itemLoo.reservedate ) %] - - [% IF ( itemLoo.waitingdate ) %] - Waiting - [% ELSE %] - On hold - [% END %] - for patron - [% IF ( itemLoo.waitingdate ) %] - at - [% ELSE %] - expected at - [% END %] - [% itemLoo.ExpectedAtLibrary | html %] since - [% IF ( itemLoo.waitingdate ) %] - [% itemLoo.waitingdate | $KohaDates %] - [% ELSE %] - [% IF ( itemLoo.reservedate ) %] - [% itemLoo.reservedate | html %] + [% IF ( itemLoo.message ) %] + Unavailable (lost or missing) + [% END %] + + [% IF ( itemLoo.notforloan ) %] + Not for loan ([% itemLoo.notforloanvalue | html %]) + [% END %] + + [% IF ( itemLoo.reservedate ) %] + + [% IF ( itemLoo.waitingdate ) %] + Waiting + [% ELSE %] + On hold [% END %] - [% END %]. - - [% ELSE %] - Not on hold - [% END # / IF ( itemLoo.reservedate )%] - | -