Bugzilla – Attachment 194509 Details for
Bug 41995
Autocomplete for syspref search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41995: Add autocomplete on the admin home page
Bug-41995-Add-autocomplete-on-the-admin-home-page.patch (text/plain), 1.80 KB, created by
OpenFifth Sandboxes
on 2026-03-05 13:37:53 UTC
(
hide
)
Description:
Bug 41995: Add autocomplete on the admin home page
Filename:
MIME Type:
Creator:
OpenFifth Sandboxes
Created:
2026-03-05 13:37:53 UTC
Size:
1.80 KB
patch
obsolete
>From fa396799a0ccf6ca86036a966834d0dc6ef83a01 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 5 Mar 2026 14:03:15 +0100 >Subject: [PATCH] Bug 41995: Add autocomplete on the admin home page >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Anneli Ãsterman <anneli.osterman@koha-suomi.fi> >--- > .../intranet-tmpl/prog/en/modules/admin/admin-home.tt | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >index 1bf98b85c2..5d295bcd86 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >@@ -58,7 +58,7 @@ > <h4><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></h4> > <p>Manage system preferences like MARC flavor, date format, administrator email, and templates.</p> > <input type="hidden" name="op" value="search" /> >- <input type="text" name="searchfield" value="[% searchfield | html %]" /> >+ <input type="text" id="syspref-searchfield-main" name="searchfield" value="[% searchfield | html %]" /> > <input type="submit" name="ok" class="btn btn-primary" value="Search" /> > </fieldset> > </form> >@@ -325,4 +325,12 @@ > </div> > [% END %] > >+[% MACRO jsinclude BLOCK %] >+ [% INCLUDE "datatables.inc" %] >+ <script> >+ $(document).ready(function () { >+ syspref_autocomplete($("#syspref-searchfield-main")); >+ }); >+ </script> >+[% END %] > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41995
:
194492
|
194498
|
194501
|
194507
|
194508
| 194509