http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11518

--- Comment #28 from M. de Rooy <[email protected]> ---
There still is some discussion about it (see IRC):

Why do we use $self->biblioitemnumber()->itemtype() ?
$self->biblioitem->itemtype would be nicer.

My answer would be: Since the relation is called biblioitemnumber, we need to
use that. Using the default relation name from DBIx is easier than adding names
everywhere. Same for e.g. $biblioitem->biblionumber() instead of biblio. The
generated relation is called biblionumber..

My question is: can we somehow get DBIx to define these relations with the
names we like more without adding relation or code in the custom sections
everywhere?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to