Bugzilla – Attachment 178122 Details for
Bug 39141
Add search box to checkout page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39141: (follow-up) Style input and add autocomplete
Bug-39141-follow-up-Style-input-and-add-autocomple.patch (text/plain), 2.96 KB, created by
ByWater Sandboxes
on 2025-02-14 21:01:42 UTC
(
hide
)
Description:
Bug 39141: (follow-up) Style input and add autocomplete
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2025-02-14 21:01:42 UTC
Size:
2.96 KB
patch
obsolete
>From de43742128b5b5e2b166a336dedb8e7547ab2acc Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 14 Feb 2025 14:22:51 +0000 >Subject: [PATCH] Bug 39141: (follow-up) Style input and add autocomplete > >This patch adds some friendly styling to the new form and adds >autocomplete functionality. > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >--- > .../prog/en/includes/js_includes.inc | 3 +++ > .../prog/en/modules/circ/circulation.tt | 19 ++++++++++++++++++- > 2 files changed, 21 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc >index d8af4f0975..b5126c6174 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc >@@ -83,6 +83,9 @@ > if ( $("#findborrower").length ) { > patron_autocomplete($("#findborrower"), { 'link-to': 'circ' }); > } >+ if ( $("#findborrower_main").length ) { >+ patron_autocomplete($("#findborrower_main"), { 'link-to': 'circ' }); >+ } > [% END %] > if ( $("#searchmember").length ) { > patron_autocomplete($("#searchmember"), { 'link-to': 'patron' }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 8adbabeb6a..87da982b32 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -25,6 +25,23 @@ > [% END %]</title > > > [% INCLUDE 'doc-head-close.inc' %] >+[% FILTER collapse %] >+ <style> >+ #patron_checkout_search { >+ display: flex; >+ gap: 0.5rem; >+ } >+ #patron_checkout_search input[type="text"] { >+ border: 1px solid #c7c7ce; >+ border-radius: 0.3rem; >+ line-height: 1.5; >+ padding: 0.375rem 0.75rem; >+ transition: >+ border-color 0.15s ease-in-out, >+ box-shadow 0.15s ease-in-out; >+ } >+ </style> >+[% END %] > </head> > > <body id="circ_circulation" class="circ"> >@@ -992,7 +1009,7 @@ > [% ELSE %] > <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="get"> > <fieldset id="patron_checkout_search"> >- <input autocomplete="off" id="findborrower" name="findborrower" type="text" placeholder="Enter patron card number or partial name" size="40" /> >+ <input autocomplete="off" id="findborrower_main" name="findborrower" type="text" placeholder="Enter patron card number or partial name" size="40" /> > [% IF ( stickyduedate ) %] > <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> > <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> >-- >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 39141
:
178092
|
178095
|
178121
|
178122
|
179318
|
179319