fixing a bug where the query cgi was loaded twice for re-sort forms
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
5bb6d117c5
commit
8c9ded3e54
2 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ $(document).ready(function(){
|
|||
<!-- TABLE RESULTS START -->
|
||||
<table>
|
||||
<tr><td colspan="3" class="resultscontrol">
|
||||
<div class="resort"> <select id="sort_by" name="sort_by"> <!--TMPL_INCLUDE Name="resort_form.inc"--> </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div>
|
||||
<div class="resort"> <select id="sort_by" name="sort_by"> <!--TMPL_INCLUDE NAME="resort_form.inc"--> </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div>
|
||||
<!-- TMPL_IF EXPR="opacbookbag || virtualshelves" --><div class="cartlist"><span class="checkall"></span>
|
||||
<span class="clearall"></span>
|
||||
<span class="addto"></span></div>
|
||||
|
|
|
@ -279,7 +279,7 @@ my @query_inputs = _input_cgi_parse($query_cgi);
|
|||
$template->param ( QUERY_INPUTS => \@query_inputs );
|
||||
|
||||
## parse the limit_cgi string and put it into a form suitable for <input>s
|
||||
my @limit_inputs = _input_cgi_parse($query_cgi);
|
||||
my @limit_inputs = _input_cgi_parse($limit_cgi);
|
||||
|
||||
# add OPAC 'hidelostitems'
|
||||
if (C4::Context->preference('hidelostitems') == 1) {
|
||||
|
|
Loading…
Reference in a new issue