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> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
d37d858b13
commit
1668bd8557
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue