bug 1891 : bib-level itemtype was required in order to place a hold.
authorRyan Higgins <rch@liblime.com>
Wed, 12 Nov 2008 03:05:03 +0000 (22:05 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 4 Sep 2009 03:08:08 +0000 (15:08 +1200)
This patch removes some superfluous logic left over from early Koha
when a multi-step holds process allowed you to limit your choices to
specific biblioitems.itemtype values.  Code previously required a value
in biblioitems.itemtype in order to place hold.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl

index 098ecee..8d337ef 100644 (file)
     <table>
         <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" escape="html" --></span></td></tr>
 
-<!-- TMPL_IF NAME="all" -->
-        <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1" /></td></tr>
-<!-- TMPL_ELSE -->
-        <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
-<input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" /><!-- TMPL_VAR NAME="description" -->;
-<!-- /TMPL_LOOP --></td></tr>
-
 <!-- /TMPL_IF -->
         <!-- TMPL_IF NAME="singleBranchMode" -->
         <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />