@@ -, +, @@ - Switch off the CircAutocompl syspref - Set a (one or more) patron attr type searchable - go on the overdues page --- .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -24,7 +24,9 @@ var attrcode = $("script", clone).attr("x-code"); var newsuffix = parts[1] + appendid; - create_auto_completion_responder(newsuffix,attrcode); + [% IF ( CircAutocompl ) %] + create_auto_completion_responder(newsuffix,attrcode); + [% END %] } parent.parentNode.insertBefore(clone, parent.nextSibling); @@ -33,6 +35,7 @@ var parent = node.parentNode; parent.parentNode.removeChild(parent); } + [% IF ( CircAutocompl ) %] function create_auto_completion_responder(uniqueid,attrcode) { YAHOO.util.Event.onContentReady("pattrodue-getready-"+uniqueid, function() { new function() { @@ -64,6 +67,7 @@ } }); } + [% END %] //]]>