[Koha-bugs] [Bug 17499] Koha objects for messaging preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 16:11:54 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17499
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at bugs.koha-c
| |ommunity.org
--- Comment #50 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #49)
> Koha::Patron::Message::Preferences
> sub find_with_message_name
> my $attr = Koha::Patron::Message::Attributes->find({
> message_name => $id->{'message_name'},
> });
> Isnt this actually a search? Couldnt we have multiple results on name ?
> Similar question for search_with_message_name later
It's a unique key
UNIQUE KEY `message_name` (`message_name`)
> my $name = $transport->get_column('message_name');
> Why get_column, not just message_name ?
It's a column from another table.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list