From d97690779c6ae82083db01194639d35174f21aca 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 a3e508d..6b09e6c 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2295,7 +2295,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` LONGTEXT default NULL, -- contains the mapping between the Z3950 search fields and the specific SRU server indexes `add_xslt` LONGTEXT 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=utf8mb4 COLLATE=utf8mb4_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 3c5400d..1484ed5 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 %]