https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18361
--- Comment #4 from Tomás Cohen Arazi <[email protected]> --- Comment on attachment 61754 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61754 Bug 18361: Koha::Objects->find should accept composite primary keys > sub find { >- my ( $self, $id ) = @_; >+ my ( $self, @id ) = @_; While I agree with the general idea, I'd prefer that we keep in mind that this is a passthrough to DBIC ->find method. In that sense, please look at ResultSet.pm: sub find { my $self = shift; my $attrs = (@_ > 1 && ref $_[$#_] eq 'HASH' ? pop(@_) : {}); IMHO we should implement exactly that, probably accept whatever is passed to K:O->find and just pass it to RS->find. -- 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/
