[Koha-bugs] [Bug 30657] Make patron attributes available via Template Toolkit in overdues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 11:33:11 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30657

--- Comment #8 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Annoyingly the extended_attributes accessor is also set to be a setter which
means it won't pass through any filters you want to pass.. we should really
rectify that.

In my opinion we should have two simple accessors that both accept standard
dbic query filters.

* extended_attributes($where, $attr);
* extended_attribute($where,$attr);

We wrap our DBIx::Clas objects and thus remove the nice easy scalar handling of
_rs on accessors which means we also have to deal with that in 'clever' ways at
the TT level.. I can't remember the details for that off the top of my head
though.

We really need to document all this better somewhere in short.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list