Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt
Katrin Fischer e04b3ef068 Bug 12565: Acq: Fix broken link in breadcrumbs
The link back to the basket when creating an order by
searching for an existing record in the catalog is
broken.

To test:
- Start a new basket
- Create a new order line by searching for an existing
  record in your catalog
- Try the link back to the basket from the breadcrumbs
  at the result list page
- Verify that the link is broken
- Apply patch and retest

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-12-19 15:12:14 -03:00

104 lines
3.3 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Acquisitions &rsaquo; Search existing records</title>
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
[% INCLUDE 'greybox.inc' %]
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
'sDom': 't',
'bPaginate': false,
'bFilter': false,
'bInfo': false,
'bSort': false,
} ) );
});
//]]>
</script>
</head>
<body id="acq_neworderbiblio" class="acq">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'acquisitions-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> &rsaquo; Search existing records</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h1>Search existing records</h1>
[% IF ( total ) %]
<b>[% total %] results found </b>
<div class="pages">[% pagination_bar %]</div>
[% ELSE %]
<h3> No results found</h3>
<p>
No results match your search for <span style="font-weight: bold;">&ldquo;[% query %]&rdquo;</span> in [% LibraryName %]
</p>
[% END %]
[% IF ( query_error ) %]
<div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
[% END %]
[% IF ( total ) %]
<div class="searchresults">
<table id="resultst">
<thead>
<tr>
<th>Summary</th>
<th>Publisher</th>
<th>Copyright</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
[% FOREACH biblio IN resultsloop %]
<tr>
<td>
<p><span class="title">[% biblio.title |html %]</span>
[% IF ( biblio.author ) %] by <span class="author">[% biblio.author %]</span>,[% END %]</p>
<p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
[% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
[% IF ( biblio.notes ) %] : [% biblio.notes %][% END %]
[% IF ( biblio.size ) %] ; [% biblio.size %][% END %]
</p>
</td>
<td>
[% biblio.publishercode %]
[% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
</td>
<td>
[% biblio.copyrightdate %]
</td>
<td>
<a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
</td>
<td>
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;biblionumber=[% biblio.biblionumber %]" title="Order this one">
Order
</a>
</td>
</tr>
[% END %]
</tbody>
</table>
</div>
[% END %]
[% INCLUDE 'acquisitions-add-to-basket.inc' %]
</div>
</div>
<div class="yui-b">
[% INCLUDE 'acquisitions-menu.inc' %]
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]