From a925fa1a6dc8d1d23b89e3b4459557ee1aa64430 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 28 Apr 2016 22:43:32 +0200 Subject: [PATCH] Bug 11297: QA follow-up - Some fixes - Makes Attributes only show up when adding a new Z39.50 server, not for SRU - Fixes typo in db documentation - Fixes sorting of table columns Signed-off-by: Katrin Fischer --- installer/data/mysql/kohastructure.sql | 2 +- .../prog/en/modules/admin/z3950servers.tt | 73 +++++++++++++++++++++- 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 26ad7f7..2a21ebf 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2323,7 +2323,7 @@ CREATE TABLE `z3950servers` ( -- connection information for the Z39.50 targets u `sru_options` varchar(255) default NULL, -- options like sru=get, sru_version=1.1; will be passed to the server via ZOOM `sru_fields` mediumtext default NULL, -- contains the mapping between the Z3950 search fields and the specific SRU server indexes `add_xslt` mediumtext default NULL, -- zero or more paths to XSLT files to be processed on the search results - `attributes` VARCHAR(255) default NULL, -- additionnal attributes passed to PQF queries + `attributes` VARCHAR(255) default NULL, -- additional attributes passed to PQF queries PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 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 137f284..4e2fcda 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt @@ -18,6 +18,76 @@ [% IF op == 'list' %] [% END %] + + + @@ -83,9 +153,10 @@
  • + [% IF (server.servertype||type) == 'zed' %]
  • - + [% END %]