From b6e604c80e9c69007a63a7b55c81325ecf0f3672 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20DEMIANS?= Date: Wed, 24 Oct 2007 13:11:48 -0500 Subject: [PATCH] patch See attached file. Thanks. >From 1c3021f31675193ad2e9b91a95191f9ae0caeff2 Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Wed, 24 Oct 2007 11:50:08 +0200 Subject: [PATCH] Borrower name autocompletion improvement Autocompletion is selected by syspref directly in circ-search.inc. This way it could be activated elsewhere just by adding CircAutocompl param into page using circ-search.inc. Done for example in circ/branchtransfers.pl. Must be done in all other circ/*.pl pages. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/branchtransfers.pl | 1 + .../prog/en/includes/circ-search-autocompl.inc | 162 ----------------- .../intranet-tmpl/prog/en/includes/circ-search.inc | 198 ++++++++++++++++++--- .../prog/en/modules/circ/circulation.tmpl | 5 - 4 files changed, 172 insertions(+), 194 deletions(-) delete mode 100755 koha-tmpl/intranet-tmpl/prog/en/includes/circ-search-autocompl.inc mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index 76b1d14e6a..7d15cf7677 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -216,6 +216,7 @@ $template->param( trsfitemloop => \@trsfitemloop, branchoptionloop => \@branchoptionloop, errmsgloop => \@errmsgloop, + CircAutocompl => C4::Context->preference("CircAutocompl") ); output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search-autocompl.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search-autocompl.inc deleted file mode 100755 index ccc13b03bd..0000000000 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search-autocompl.inc +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc old mode 100644 new mode 100755 index c4b827b2fa..9a56b64758 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -1,32 +1,176 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl old mode 100644 new mode 100755 index 209d8ee53f..171bb3e4a6 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -18,12 +18,7 @@ - - - - - -- 2.11.0