https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35919
--- Comment #51 from Jonathan Druart <jonathan.dru...@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.blenkin...@ptfs-europe.com> Bug 31791: Rename can_be_edited -> source_allows_editing Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/