[Koha-bugs] [Bug 22700] Make biblio_metadata prefetchable from Koha::Biblio
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 19 16:15:47 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22700
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #87943|0 |1
is obsolete| |
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 88355
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88355&action=edit
Bug 22700: Make biblio_metadata prefetchable from Koha::Biblio
This patch makes $biblio->metadata be prefetchable as the Coding
guidelines require.
A new has_one relationship is added in the Biblio schema, named as the
accessor to also convey to proposed guidelines for readability.
To test:
- Apply this patch
- Run:
$ kshell
k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: No regressions!
- Sign off :-D
Signed-off-by: Michal Denar <black23 at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list