[Koha-patches] [PATCH] bugfix stickyduedate more sticky - also patron search in quick search block
Michael Hafen
mdhafen at tech.washk12.org
Thu May 7 00:34:47 CEST 2009
Forgot about the patron search for check out form in the quick search
block
---
.../prog/en/includes/patron-search-box.inc | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc
index 558b4f6..93a5efc 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc
@@ -53,12 +53,20 @@ YAHOO.util.Event.onContentReady("header_search", function() {
<input id="ysearchsubmit" type="submit" class="submit" value="Submit" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
+ <!-- TMPL_IF NAME="stickyduedate" -->
+ <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
+ <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
+ <!-- /TMPL_IF -->
</div>
</div>
<!-- TMPL_ELSE -->
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
+ <!-- TMPL_IF NAME="stickyduedate" -->
+ <input type="hidden" name="duedatespec" value="<!-- TMPL_VAR NAME="duedatespec" -->" />
+ <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR NAME="stickyduedate" -->" />
+ <!-- /TMPL_IF -->
<input value="Submit" class="submit" type="submit" />
<!-- /TMPL_IF -->
</form>
--
1.5.6.3
More information about the Koha-patches
mailing list