Main Koha release repository https://koha-community.org
Find a file
Fridolin Somers 6833e1b3f7 Bug 32279: Add GetAuthorizedHeading method export C4::AuthoritiesMarc
C4::AuthoritiesMarc method GetAuthorizedHeading is not exported thus it is called in other modules :
 > git grep GetAuthorizedHeading
C4/AuthoritiesMarc.pm:=head2 GetAuthorizedHeading
C4/AuthoritiesMarc.pm:  $heading = &GetAuthorizedHeading({ record => $record, authid => $authid })
C4/AuthoritiesMarc.pm:sub GetAuthorizedHeading {
C4/Breeding.pm:                            $heading = C4::AuthoritiesMarc::GetAuthorizedHeading({ record => $marcrecord });
C4/ImportBatch.pm:            $row->{'authorized_heading'} = C4::AuthoritiesMarc::GetAuthorizedHeading( { authid => $row->{'candidate_match_id'} } );
C4/ImportBatch.pm:    my $authorized_heading = C4::AuthoritiesMarc::GetAuthorizedHeading({ record => $marc_record });

This patch adds it to be exported.
For example for use in Koha plugins.

Test plan :
Check import of authorities from a file is OK

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2d0eca8a0d)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
2023-04-16 18:08:50 +01:00
acqui Bug 32437: Honor overlay setting in staged batch when adding to a basket 2023-04-16 17:47:58 +01:00
admin Bug 33159: Simplify ES handling and fix zebra handling 2023-04-11 11:19:35 +00:00
api Bug 32923: Allow to embed user_roles for agreements 2023-03-24 10:27:32 +00:00
authorities
basket Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-31 17:15:27 +00:00
bin
C4 Bug 32279: Add GetAuthorizedHeading method export C4::AuthoritiesMarc 2023-04-16 18:08:50 +01:00
catalogue Bug 32585: (bug 32583 follow-up) Fix some variable references 2023-03-01 09:52:50 +00:00
cataloguing Bug 32850: Fix cataloguing/value_builder/unimarc_field_124.pl 2023-04-16 17:45:49 +01:00
circ Bug 32883: (QA follow-up) Adjust ordering for pickups 2023-04-11 10:18:23 +01:00
clubs
course_reserves
debian Bug 33168: Prevent debhelper from renaming history.txt to changelog 2023-04-11 11:24:39 +00:00
docs
erm Bug 32922: Remove space in shebang 2023-02-24 07:51:37 +00:00
errors
etc Bug 32684: Implement SIP patron status field "too many items lost" 2023-03-16 19:28:38 +00:00
ill
installer Bug 32437: DBRev 22.12.00.016 2023-04-16 17:52:58 +01:00
Koha Bug 32437: (QA follow-up) Add missing methods in schema file 2023-04-16 17:59:25 +01:00
koha-tmpl Bug 33322: (QA follow-up) Add comment to clarify selector context 2023-04-16 18:08:14 +01:00
labels
lib/CGI/Session/Serialize
members Bug 31095: Remove GetDebarments from members/memberentry.pl 2023-02-01 15:35:28 +00:00
misc Bug 33341: Address some perlcritic errors in 5.36 2023-04-11 10:54:27 +00:00
offline_circ
opac Bug 32674: Fix placing a hold at the OPAC for serials 2023-03-07 18:07:47 +00:00
patron_lists
patroncards
plugins
pos
recalls
reports Bug 32588: Make filters on 'items with no checkouts' report translatable 2023-01-31 18:06:13 +00:00
reserve Bug 33198: Don't calculate pickup locations per bib unless placing multiple holds 2023-04-11 10:18:24 +01:00
reviews
rotating_collections
serials
services
skel
suggestion
svc Bug 15869: Change framework on overlay 2023-02-08 16:34:09 +00:00
t Bug 29234: (QA follow-up) Fix test that expects wrong defaults 2023-04-16 18:04:52 +01:00
tags
tmp/modified_authorities
tools Bug 33341: Address some perlcritic errors in 5.36 2023-04-11 10:54:27 +00:00
virtualshelves Bug 16522: (follow-up) MARC display templates and get_marc_host fixes 2023-01-31 17:15:27 +00:00
xt Bug 33227: Unit tests 2023-03-21 16:35:30 +00:00
.editorconfig
.eslintrc.json
.gitignore Bug 32609: Add compiled css files to gitignore 2023-03-10 12:27:30 +00:00
.htaccess
.mailmap
.perlcriticrc
.proverc.dist
.stylelintrc.json
about.pl Bug 3831: Add a warning to about page when there is no FA framework 2023-03-20 16:45:59 +00:00
app.psgi
build-resources.PL Bug 32609: Use the current yarn.lock to generate node_modules 2023-03-10 12:27:47 +00:00
changelanguage.pl
cpanfile Bug 32558: (QA follow-up) Move ForkManager to required 2023-03-08 14:39:16 +00:00
cypress.json
fix-perl-path.PL
gulpfile.js Bug 32609: Improve yarn build commands 2023-03-10 12:27:27 +00:00
help.pl
INSTALL
Koha.pm Bug 32437: DBRev 22.12.00.016 2023-04-16 17:52:58 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 33133: Add fast cataloging to 'Cataloging' page 2023-04-11 10:51:27 +00:00
Makefile.PL Bug 32994: Remove breaking css/maps/*.map files from Makefile.PL 2023-03-14 14:08:27 +00:00
MANIFEST.SKIP
package.json Bug 32975: Error in package.json's definition of css:build vs css:build:prod 2023-03-10 12:27:54 +00:00
README
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js Bug 32806: Move main-erm.ts to modules/erm.ts 2023-02-28 18:54:57 +00:00
yarn.lock Bug 32978: Updated yarn.lock 2023-02-24 11:31:26 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo