Bugzilla – Attachment 31155 Details for
Bug 12823
Add some hints for Host, Database and SRU search fields mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12823: Hint to define the SRU search field mappings
Bug-12823-Hint-to-define-the-SRU-search-field-mapp.patch (text/plain), 1.41 KB, created by
Marcel de Rooy
on 2014-08-26 09:16:34 UTC
(
hide
)
Description:
Bug 12823: Hint to define the SRU search field mappings
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-08-26 09:16:34 UTC
Size:
1.41 KB
patch
obsolete
>From 710e6735cc6109c9cfb28324d900a4615df33a13 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 26 Aug 2014 11:14:33 +0200 >Subject: [PATCH] Bug 12823: Hint to define the SRU search field mappings >Content-Type: text/plain; charset=utf-8 > >This is a follow report for report 6536 (SRU search targets). >It will alert a user that saves a SRU server without field mappings. >--- > .../prog/en/modules/admin/z3950servers.tt | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >index cc8e25a..46704b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >@@ -70,6 +70,10 @@ > [% END %] > > $("#serverentry").submit(function( event ) { >+ // first test if show_sru_fields exists >+ if( $('#show_sru_fields').length && $('#show_sru_fields').val()=='' && !confirm( _("No SRU search field mappings have been defined. This means that all field searches will go through the whole record. Continue?"))) { >+ return false; >+ } > // copy show_sru_fields to hidden counterpart > $('#sru_fields').val( $('#show_sru_fields').val() ); > // enable recordtype to include field in post >-- >1.7.7.6
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 12823
:
31154
|
31155
|
31156
|
31157
|
31228
|
31229
|
33981
|
33982
|
34690
|
34691
|
34695
|
34696