]> git.koha-community.org Git - koha.git/commit
Bug 31791: Add Koha::Biblio::Metadata->record_source
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Mar 2024 12:50:39 +0000 (09:50 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 18:15:38 +0000 (20:15 +0200)
commit7e64e01515c58961cb9e70a30e74305605db5afe
tree1d5fb9f23ec029651e33dc8c9ff0e4a8a62b67f2
parenta054c569dd0579187f28efa66d763cb4cd06d8d3
Bug 31791: Add Koha::Biblio::Metadata->record_source

This patch adds a method for retrieving the related *Koha::RecordSource* from a *Koha::Biblio::Metadata* object.

The method is covered by tests:

1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Biblio/Metadata.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Biblio/Metadata.pm
t/db_dependent/Koha/Biblio/Metadata.t