Bugzilla – Attachment 122755 Details for
Bug 28631
Holds History title link returns "not found" error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28631: Holds History title link returns "not found" error
Bug-28631-Holds-History-title-link-returns-not-fou.patch (text/plain), 3.03 KB, created by
Biblibre Sandboxes
on 2021-07-09 19:37:07 UTC
(
hide
)
Description:
Bug 28631: Holds History title link returns "not found" error
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2021-07-09 19:37:07 UTC
Size:
3.03 KB
patch
obsolete
>From f983bccd395264247e11a087f22603aabed8b118 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 30 Jun 2021 15:42:50 +0000 >Subject: [PATCH] Bug 28631: Holds History title link returns "not found" error > >This patch corrects a broken path in the OPAC holds history page. > >This patch also corrects the breadcrumb markup which didn't conform to >the new Bootstrap 4 pattern. > >To test, apply the patch and log into the OPAC as a patron who has past >or current holds. > >- View the "your holds history" page. >- Click a title link in the table of holds. It should take you to the > correct bibliographic detail page. >- Check the breadcrumbs of the page. They should look consistent with > breadcrumb navigation on other pages in the OPAC. > >Signed-off-by: Kelly <kelly@bywatersolutions.com> >--- > .../bootstrap/en/modules/opac-holdshistory.tt | 20 +++++++++++++------ > 1 file changed, 14 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >index 01e409b45e..caa13006ac 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >@@ -38,11 +38,19 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <ul class="breadcrumb"> >- <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a> <span class="divider">›</span></li> >- <li><a href="#">Your holds history</a></li> >- </ul> >+ <nav aria-label="breadcrumb"> >+ <ul class="breadcrumb"> >+ <li class="breadcrumb-item"> >+ <a href="/cgi-bin/koha/opac-main.pl">Home</a> >+ </li> >+ <li class="breadcrumb-item"> >+ <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a> >+ </li> >+ <li class="breadcrumb-item" aria-current="page"> >+ <a href="#">Your holds history</a> >+ </li> >+ </ul> >+ </nav> > > <div class="container-fluid"> > <div class="row"> >@@ -104,7 +112,7 @@ > <tbody> > [% FOREACH hold IN holds %] > <tr> >- <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% hold.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=hold.biblio %]</a></td> >+ <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% hold.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=hold.biblio %]</a></td> > <td>[% hold.biblio.author | html %]</td> > <td>[% hold.item.barcode | html %]</td> > <td>[% Branches.GetName( hold.branchcode ) | html %]</td> >-- >2.20.1
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 28631
:
122510
|
122755
|
122866