]> git.koha-community.org Git - koha.git/commit
Bug 13635: Unimarc - On editing a notice, the title should be displayed
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 28 Jan 2015 12:03:31 +0000 (13:03 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 12 Mar 2015 07:20:53 +0000 (20:20 +1300)
commit8a2cccc8dfa07ad6a731554d523fb5aab1540943
treeb06ca54bf61aae0af9b60ddb7327aa3272c80b50
parente6674d90f7716593326c184b347ab16217a0ec2c
Bug 13635: Unimarc - On editing a notice, the title should be displayed

The title method of MARC::Record does not deal with UNIMARC, it should
not be called if the marc flavour is UNIMARC.

Test plan:
On an unimarc installation, edit a notice, with this patch you should
see
 "Editing TITLE (Record number BIBLIONUMBER)"

Without, the title was not displayed.
Same in the breadcrumbs.

Bug 13635: Remove another useless call

There is another call to the title method in additem.pl without any
check on the marc flavour.
But here the title variable sent to the template is redefined 3 lines
later.
So it can be simply removed.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested on UNIMARC install, editing a 'record' (not notice) does not show
title on breadcrumbs, status bar or page title.
With patch it does!
No koha-qa errors.

Signed-off-by: joel aloi <aloi54@live.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 07e6ddc44af5ba6cdcccbcdac44bba223d891610)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
cataloguing/addbiblio.pl
cataloguing/additem.pl