[Koha-bugs] [Bug 17698] Make patron notes show up on staff dashboard
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 27 17:08:17 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17698
--- Comment #25 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Aleisha Amohia from comment #24)
> Marcel, can you please have a look at this patch. I tried to implement
> the change
> my @notes = $schema->resultset('Issue')->search({ 'me.note' => { '!=', undef
> } }, { prefetch => [ 'borrower', { item => 'biblionumber' } ] });
> to
> my @notes = Koha::Checkouts->search({ 'me.note' => { '!=', undef } }, {
> prefetch => [ 'borrower', { item => 'biblionumber' } ] });
> but am having problems on the template side. I can access the item and
> biblio information about the issue, but not the borrower information,
> even though the query is definitely pulling it correctly. Any
> suggestions or ideas as to why this breaks?
Yeah, I tested some variations too and did not clear up this problem. Probably
we have some *issues* with the relationships of the issues table. We perhaps
better address this DBIx problem on a separate report in order to not postpone
this development. Please restore the DBIx line that worked.
See also bug 18862
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list