[Koha-bugs] [Bug 22843] Finer control of who receives purchase suggestion notifications

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 14 17:52:24 CEST 2019


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

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
My plan was to either add a distinct email_for_acquisitions field to the
existing branches table, or perhaps add a 'branch_librarians' table setup a
foreign key relationship such that it's extensible for other branch specific
addresses.

I was then going to add accessors to Koha::Library which would look for the
corresponding field and if empty continuously fallback through branchreplyto,
branchemail, defaultreplyto and finally kohaadminemail system preferences until
it found a populated one.

I was also temped to allow the field to take either a plaintext email address
or a borrowernumber which we could use to lookup a librarian.. but I've not
decided whether I like that concept or now yet.. up for debate.

Once I had that it's a model for how other such branch specific addresses could
be defined.

Finally, I'd plumb it into the suggestions notification system such that the
'to' address was populated using this new accessor.

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


More information about the Koha-bugs mailing list