koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/acqui n...


From: Robert Lyon
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/acqui n...
Date: Tue, 05 Sep 2006 21:30:59 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     Robert Lyon <bob_lyon>  06/09/05 21:30:59

Modified files:
        koha-tmpl/intranet-tmpl/default/en/acqui: newbasket2.tmpl 
                                                  basket.tmpl 

Log message:
        adding ability to make the search to return biblios with no items by 
using a hidden field
        - if this functionality is not needed for ones koha then deleting the 
'acq_search' line will let the search behave as before

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl?cvsroot=koha&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl?cvsroot=koha&r1=1.24&r2=1.25

Patches:
Index: newbasket2.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- newbasket2.tmpl     13 Sep 2004 15:28:58 -0000      1.14
+++ newbasket2.tmpl     5 Sep 2006 21:30:58 -0000       1.15
@@ -9,6 +9,7 @@
        <form action="/cgi-bin/koha/acqui/newbasket2.pl">
        <input type="hidden" name="booksellerid" value=<!-- TMPL_VAR 
NAME="booksellerid" -->>
        <input type="hidden" name="basketno" value=<!-- TMPL_VAR 
NAME="basketno" -->>
+       <input type="hidden" name="acq_search" value="1">
        <b>New Search: </b><input="text"  size="25"   name="search">
        <input type="submit" value="Search" class="button acquisition">
        </form>

Index: basket.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- basket.tmpl 6 Jan 2006 16:39:39 -0000       1.24
+++ basket.tmpl 5 Sep 2006 21:30:58 -0000       1.25
@@ -133,6 +133,7 @@
                        <form action="/cgi-bin/koha/acqui/newbasket2.pl" 
method="post">
                                <input type="hidden" name="booksellerid" 
value="<!-- TMPL_VAR NAME="booksellerid" -->">
                                <input type="hidden" name="basketno" 
value="<!-- TMPL_VAR NAME="basketno" -->">
+                               <input type="hidden" name="acq_search" 
value="1">
                                <p>from an existing biblio: </b><input 
type="text"  size="25"   name="search"><input type="submit" class="button 
acquisition" value="Search"></p>
                                <p>or
                                        <a 
href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR 
NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" 
class="button acquisition">




reply via email to

[Prev in Thread] Current Thread [Next in Thread]