Bug 30047: Add new heading field to auth_header table
authorNick Clemens <nick@bywatersolutions.com>
Fri, 19 Jan 2024 14:20:19 +0000 (14:20 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 14:45:51 +0000 (16:45 +0200)
commit26f32023697231dace10eb04b715d37d74955f98
tree528192788eeb2de8840989eb8167d5f3d47eb5ae
parentce30f5f3a29a83088888739d8a55da594810a766
Bug 30047: Add new heading field to auth_header table

This patch adds a new heading field containing the display form of the authority record

NOTE: If trying to save an auhority in the 'DEFAULT' framework, you will get an error, you should not be
using DEFAULT for authorities and we should remove from the list on another bug

To test:
1 - Apply patches
2 - Update database
3 - Restart all
4 - Create a new authority, save.
5 - Do this for various types
6 - View the db records:
    SELECT * FROM auth_header\G
7 - Note new heading field is populated correctly
8 - Edit your new authorities
9 - Confirm the heading field is updated correctly
10 - Import some authorities and confirm heading generated correctly
11 - Import auth via Z39.50 and confirm heading generated correctly

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/AuthoritiesMarc.pm
C4/Heading/MARC21.pm
Koha/Authority.pm