66c420c3d0
C4::Search::SimpleSearch was alredy patched to let you pass in the number of results you want back. These instances were not using the new API. This patch makes all calls to SimpleSearch specify a limit. I improved the documentation of SimpleSearch a bit to include the third returned value. I believe there's a bug in C4::Output::pagination_bar, in that it doesn't deal well with URLs with only one pair of parameter=value passed to it. I'm getting around this by passing in a second pair that does nothing. Signed-off-by: Joshua Ferraro <jmf@liblime.com>
87 lines
3 KiB
Cheetah
87 lines
3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Acquisitions › Search Existing Records</title>
|
|
<!-- TMPL_INCLUDE NAME="greybox.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="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> › 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>
|
|
|
|
|
|
<!-- TMPL_IF NAME="total" -->
|
|
<b><!-- TMPL_VAR NAME="total" --> results found</b>
|
|
<!-- TMPL_VAR name='pagination_bar'-->
|
|
<!-- TMPL_ELSE -->
|
|
<h3> No results found</h3>
|
|
<p>
|
|
No results match your search for <span style="font-weight: bold;">“<!-- TMPL_VAR NAME="query" -->”</span> in <!-- TMPL_VAR NAME="LibraryName" -->
|
|
</p>
|
|
<a href="JavaScript:back();" title="New search">Perform a new search</a>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="query_error" -->
|
|
<br /><br />
|
|
<b>Error:</b>
|
|
<span class="problem">
|
|
<!-- TMPL_VAR NAME="query_error" -->
|
|
</span>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="total"-->
|
|
<div class="searchresults">
|
|
<table>
|
|
<tr>
|
|
<th>Summary</th>
|
|
<th>Publisher</th>
|
|
<th>Copyright</th>
|
|
<th colspan="2"> </th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<tr>
|
|
<td>
|
|
<p><span class="title"><!-- TMPL_VAR NAME="title" --></span>
|
|
<!-- TMPL_IF name="author" --> by <span class="author"><!-- TMPL_VAR NAME="author" --></span>,<!-- /TMPL_IF --></p>
|
|
<p><!-- TMPL_IF name="isbn" --> <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR name="publishercode" -->
|
|
<!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="copyrightdate" -->
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Order this one">
|
|
Order
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|