Minor bug fix : all Branches option was not translatable
authorHenri-Damien LAURENT <henridamien@koha-fr.org>
Wed, 17 Oct 2007 20:20:36 +0000 (15:20 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 18 Oct 2007 21:24:13 +0000 (16:24 -0500)
Removing blank branch from search.pl to add it in template.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl

index 8240557..da672d7 100755 (executable)
@@ -214,7 +214,7 @@ query parser.
 # load the branches
 my $branches = GetBranches();
 my @branch_loop;
-push @branch_loop, {value => "", branchname => "All Branches", };
+#push @branch_loop, {value => "", branchname => "All Branches", };
 for my $branch_hash (sort keys %$branches) {
     push @branch_loop, {value => "branch: $branch_hash", branchname => $branches->{$branch_hash}->{'branchname'}, };
 }
index dd30465..ecb0c79 100644 (file)
     <fieldset><legend>Location and availability: </legend>
         <p>
         <label>Library</label><select name="limit" id="branchloop">
+        <option value="">All Branches</option>
         <!-- TMPL_LOOP NAME="branchloop" -->
         <option value="<!-- TMPL_VAR NAME='value' -->"><!-- TMPL_VAR NAME='branchname' --></option>
         <!-- /TMPL_LOOP -->
 </div>
 </div>
 
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->