[Koha-bugs] [Bug 35919] Add record sources CRUD

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 12:28:40 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35919

--- Comment #51 from Jonathan Druart <jonathan.druart at gmail.com> ---
Created attachment 163398
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163398&action=edit
Bug 35919: Add Koha::Biblio::Metadata->source_allows_editing

This patch adds a convenient method that tells if the record is
editable, according to it's record source.

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

Signed-off-by: Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com>

Bug 31791: Rename can_be_edited -> source_allows_editing

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list