From 3225c2680d546a1edcbdba55671b410bc03db072 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 17 Nov 2017 13:38:06 +0100 Subject: [PATCH] Bug 19646: fix value_builder marc21_linking_section template Content-Type: text/plain; charset=utf-8 When using marc21_linking_section cataloging plugin, you get the error : Template process failed: undef error - The method selected is not covered by tests! at /home/koha/src/C4/Templates.pm line 122. It commes from [% IF ( itypeloo.selected ) %], selected is not defined in itypeloo. This patch removes this condition because all item types are fetched from database, there is not one selected. It sets "All item types" as selected. Also correctes two errors in HTML : ending form and div, "

@@ -138,8 +134,8 @@

- - + + [% ELSE %] @@ -171,9 +167,9 @@ [% IF ( resul.even ) %] [% ELSE %][% END %] [% IF ( resul.MARC_ON ) %] - [% resul.title |html %] + [% resul.title |html %] [% ELSE %] - [% resul.title |html %] [% END %] + [% resul.title |html %] [% END %]

[% resul.author %] [% IF ( resul.publishercode ) %]- [% resul.publishercode %][% END %] [% IF ( resul.place ) %] ; [% resul.place %][% END %] -- 2.1.4