Bugzilla – Attachment 115437 Details for
Bug 27363
Restore temporary selection of Z39.50 targets throughout multiple searches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27363: (bug 17515 follow-up) Restore temporary selection of Z39.50 targets throughout multiple searches
Bug-27363-bug-17515-follow-up-Restore-temporary-se.patch (text/plain), 2.48 KB, created by
Jonathan Druart
on 2021-01-20 14:40:03 UTC
(
hide
)
Description:
Bug 27363: (bug 17515 follow-up) Restore temporary selection of Z39.50 targets throughout multiple searches
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-01-20 14:40:03 UTC
Size:
2.48 KB
patch
obsolete
>From 38afbfc60b0221766e60a2b90ab4318a592eab57 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Jan 2021 15:37:50 +0100 >Subject: [PATCH] Bug 27363: (bug 17515 follow-up) Restore temporary selection > of Z39.50 targets throughout multiple searches > >Not sure it will fix the problem (not sure I recreated the problem >correctly). >So this patch is just a guess, it seems that > commit 17571f824d391989247465c7ae18c92c744464c2 > Bug 17515: Order Z3950 server by rank and preserve ordering >forgot to update two occurrences of server.name with server.servername >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 9089af4192..2473ea8b8f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -408,7 +408,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > function showAdvancedSearch() { > $('#advanced-search-servers').empty(); > $.each( z3950Servers, function( index, server ) { >- $('#advanced-search-servers').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.name + '</label></li>' ); >+ $('#advanced-search-servers').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.servername + '</label></li>' ); > } ); > $('#advanced-search-ui').modal('show'); > } >@@ -470,7 +470,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > num_fetched += '+'; > } > >- $('#search-serversinfo').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.name + ' (' + num_fetched + ')' + '</label></li>' ); >+ $('#search-serversinfo').append( '<li data-server-id="' + index + '"><label><input class="search-toggle-server" type="checkbox"' + ( server.checked ? ' checked="checked">' : '>' ) + server.servername + ' (' + num_fetched + ')' + '</label></li>' ); > } ); > > var seenColumns = {}; >-- >2.20.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 27363
:
115437
|
115439
|
115440
|
115441
|
115442
|
166092
|
166148
|
166454