Summary: | Add new column "source" in the authorities pages's result | ||
---|---|---|---|
Product: | Koha | Reporter: | Patrick Robitaille <patrick.robitaille> |
Component: | Cataloging | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
Status: | Failed QA --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | koha, laurence.rault, m.de.rooy, marjorie.barry-vila, olli-antti.kivilahti, phil |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: | Bug 20153: Add new column "source" in the authorities pages's result |
Description
Patrick Robitaille
2018-02-07 15:57:09 UTC
+1 +1 Created attachment 171569 [details] [review] Bug 20153: Add new column "source" in the authorities pages's result Populates the already existing auth_header.origincode from MARC Authorities CRUD. Displays it in the authorities search results from the cataloguing tool and from the authorities search module. MARC21 cataloguing rules are followed to populate it automatically, but I have no knowledge of UNIMARC/etc to implement origincode autovifivication for those. TEST PLAN (MARC21) 1. Create a MARC Authorities Record 2. Optionally define MARC Framework for Authority auth_header.origincode 3. Populate 040$ca or 024$2 or 003 or the subfield at MARC Framework for Authority auth_header.origincode 4. Search for the Auth Record 5. Observe a new 'Origin'-tab in the search results has the defined 'Cataloguing Source'. 5a. Page: authorities/auth_finder.pl 5b. Page: authorities/authorities-home.pl TEST PLAN (Others) 0. Same as MARC21, but the MARC FW for Auth is mandatory. Tested on sandbox : TEST PLAN (MARC21) 1. Create a MARC Authorities Record => ok 2. Optionally define MARC Framework for Authority auth_header.origincode => KO kohafield is not populated in auth_subfield_structure 3. Populate 040$ca or 024$2 or 003 or the subfield at MARC Framework for Authority auth_header.origincode => OK => auth_header.origincode is populated with the field content (040$a) 4. Search for the Auth Record => OK 5. Observe a new 'Origin'-tab in the search results has the defined 'Cataloguing Source'. 5a. Page: authorities/auth_finder.pl 5b. Page: authorities/authorities-home.pl => KO No Origin tab There is a column Source column which is empty |