Bugzilla – Attachment 106322 Details for
Bug 25801
Add itemnumber parameter to the OPAC detail page that allows to show a single item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25801: (follow-up) Add Show all items-link on opac-detail
Bug-25801-follow-up-Add-Show-all-items-link-on-opa.patch (text/plain), 2.20 KB, created by
Marcel de Rooy
on 2020-06-26 09:29:28 UTC
(
hide
)
Description:
Bug 25801: (follow-up) Add Show all items-link on opac-detail
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-06-26 09:29:28 UTC
Size:
2.20 KB
patch
obsolete
>From ae37918a1e66f8a240ba368318f75abd61b76966 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 26 Jun 2020 08:30:44 +0000 >Subject: [PATCH] Bug 25801: (follow-up) Add Show all items-link on opac-detail >Content-Type: text/plain; charset=utf-8 > >As requested by Katrin in QA, it might be helpful to provide a >link to return to the regular view with all items. > >The information about acquisition and holds refers to all items, >so I moved it inside the else branch of this block. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index f71d686067..89c684a832 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -586,6 +586,9 @@ > <p>This record has many physical items ([% items_count | html %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]&viewallitems=1">Click here to view them all.</a></p> > [% ELSIF ( itemloop.size ) %] > [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %] >+ [% IF specific_item %] >+ <p><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Show all items</a></p> >+ [% ELSE %] > [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] > [% IF acquisition_details.total_quantity == 1 %] > <span>1 item is on order.</span> >@@ -607,6 +610,7 @@ > [% END %] > </div> > [% END %] >+ [% END %] > [% ELSE %] > [% IF ( ALTERNATEHOLDINGS ) %] > [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25801
:
106003
|
106004
|
106321
|
106322
|
106323
|
106366
|
106367
|
106368