[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Acquisitions › Search Existing Records</title>
+<title>Koha › Acquisitions › Search existing records</title>
+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
[% INCLUDE 'greybox.inc' %]
[% INCLUDE 'doc-head-close.inc' %]
+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
+[% INCLUDE 'datatables-strings.inc' %]
+<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
+<script type="text/javascript">
+//<![CDATA[
+ $(document).ready(function() {
+ var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
+ 'bPaginate': false,
+ 'bFilter': false,
+ 'bInfo': false,
+ 'bSort': false,
+ } ) );
+ });
+ //]]>
+</script>
</head>
-<body>
+<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> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% booksellerid %]">[% name %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?supplierid=[% booksellerid %]">Add to Order</a> › Search Existing Records</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> › <a href="/cgi-bin/koha/acqui/basket.pl?=[% basketno %]">Basket [% basketno %]</a> › Search existing records</div>
<div id="doc3" class="yui-t2">
<div id="yui-main">
<div class="yui-b">
-<h1>Search Existing Records</h1>
+<h1>Search existing records</h1>
[% IF ( total ) %]
[% END %]
[% IF ( query_error ) %]
-<br /><br />
-<b>Error:</b>
-<span class="problem">
- [% query_error %]
-</span>
+ <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
[% END %]
[% IF ( total ) %]
<div class="searchresults">
- <table>
- <tr>
- <th>Summary</th>
- <th>Publisher</th>
- <th>Copyright</th>
- <th colspan="2"> </th>
- </tr>
- [% FOREACH resultsloo IN resultsloop %]
+ <table id="resultst">
+ <thead>
+ <tr>
+ <th>Summary</th>
+ <th>Publisher</th>
+ <th>Copyright</th>
+ <th> </th>
+ <th> </th>
+ </tr>
+ </thead>
+ <tbody>
+ [% FOREACH biblio IN resultsloop %]
<tr>
<td>
- <p><span class="title">[% resultsloo.title |html %]</span>
- [% IF ( resultsloo.author ) %] by <span class="author">[% resultsloo.author %]</span>,[% END %]</p>
- <p>[% IF ( resultsloo.isbn ) %] [% resultsloo.isbn %][% END %]
- [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %]
- [% IF ( resultsloo.notes ) %] : [% resultsloo.notes %][% END %]
- [% IF ( resultsloo.size ) %] ; [% resultsloo.size %][% END %]
+ <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>
- [% resultsloo.publishercode %]
- [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %]
+ [% biblio.publishercode %]
+ [% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
</td>
<td>
- [% resultsloo.copyrightdate %]
+ [% biblio.copyrightdate %]
</td>
<td>
- <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
+ <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=[% resultsloo.booksellerid %]&basketno=[% resultsloo.basketno %]&biblionumber=[% resultsloo.biblionumber %]" title="Order this one">
+ <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&biblionumber=[% biblio.biblionumber %]" title="Order this one">
Order
</a>
</td>
</tr>
- [% END %]
+ [% END %]
+ </tbody>
</table>
</div>
[% END %]