Bug 20153 - Add new column "source" in the authorities pages's result
Summary: Add new column "source" in the authorities pages's result
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Olli-Antti Kivilahti
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 15:57 UTC by Patrick Robitaille
Modified: 2024-09-26 19:25 UTC (History)
6 users (show)

See Also:
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 (5.67 KB, patch)
2024-09-16 16:34 UTC, Olli-Antti Kivilahti
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Robitaille 2018-02-07 15:57:09 UTC
hi, 

It would be nice if we could add a new column in the results page of a search in authority's module.In this new column we could se the subfield 040 $a who show the Organization that performed the original cataloging. With this new column  with this new column titled "source", like the column in the z39.50 search, we would not need to go back to the authority record to see if it's a locally created authority or if it's imported.

Patrick.
Comment 1 Koha collecto 2024-05-10 18:53:11 UTC
+1
Comment 2 Olli-Antti Kivilahti 2024-09-16 13:39:03 UTC
+1
Comment 3 Olli-Antti Kivilahti 2024-09-16 16:34:07 UTC
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.
Comment 4 Laurence Rault 2024-09-26 19:25:33 UTC
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