Bugzilla – Attachment 132414 Details for
Bug 20398
Add a system preference to disable search result highlighting in the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20398: (QA Follow-up) Fix position of 'if' statement
Bug-20398-QA-Follow-up-Fix-position-of-if-statemen.patch (text/plain), 1007 bytes, created by
Thibaud Guillot (thibaud_g)
on 2022-03-29 13:41:56 UTC
(
hide
)
Description:
Bug 20398: (QA Follow-up) Fix position of 'if' statement
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2022-03-29 13:41:56 UTC
Size:
1007 bytes
patch
obsolete
>From 44c819079da3540c89dba48ef0fa02ac03302b38 Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Tue, 29 Mar 2022 15:37:01 +0200 >Subject: [PATCH] Bug 20398: (QA Follow-up) Fix position of 'if' statement > >--- > koha-tmpl/intranet-tmpl/prog/js/pages/results.js | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >index dad48bb6bf..5e25543261 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/results.js >@@ -210,12 +210,11 @@ $(document).ready(function() { > e.preventDefault(); > highlightOn(); > }); >- } >- >- if( PREF_StaffHighlightedWords == 1 ){ >- highlightOn(); >- } else { >- highlightOff(); >+ if( PREF_StaffHighlightedWords == 1 ){ >+ highlightOn(); >+ } else { >+ highlightOff(); >+ } > } > > >-- >2.25.1
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 20398
:
128359
|
130396
|
130420
|
130426
|
130429
|
130446
|
130450
|
130531
|
130532
| 132414