[Koha-bugs] [Bug 22407] OMNIBUS: Use DBIC relations to fetch related object rather than searching for the object
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 13 08:04:55 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22407
--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This has me wondering.. we're often renaming relationships within Koha::Objects
(understandably as often our db derived ones are horrible because of poor
initial db design). Should this guideline also introduce a requirement to
match the relation name in the dbic class up to the relation name in the
Koha::Object? It wouldn't be hard to add relations with such names and would
lead to cleaner, easier to guess, prefetch strings.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list