RFC: Koha::Borrower::Pictures
Hi, for bug 12578 [1] I was thinking of adding a 'timestamp' field to the 'patronimages' table. And got into the task of rewriting the CRUD methods for patron pictures into the Koha namespace, as an excercise for using DBIx in a real life example. Should I consider the use case where the library/user might want to attach more than one picture to a patron and choose a default? Even though I won't implement a UI for that, I can consider it in advance. Thanks in advance -- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
On 16/07/2014 6:02 am, "Tomas Cohen Arazi" <tomascohen@gmail.com> wrote:
Hi, for bug 12578 [1] I was thinking of adding a 'timestamp' field to the
'patronimages' table. And got into the task of rewriting the CRUD methods for patron pictures into the Koha namespace, as an excercise for using DBIx in a real life example.
Should I consider the use case where the library/user might want to
attach more than one picture to a patron and choose a default? Even though I won't implement a UI for that, I can consider it in advance.
Hi Tomás, I think that building it so more than one can be saved (in the future) is a good idea. Chris
Thanks in advance
-- Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
+1 from me to.. initially I couldn't see a reason for multiple pictures, but then it occured to me that a history could well be useful in some instances. Martin Renvoize Software Engineer, PTFS Europe Ltd Content Management and Library Solutions Skype: Landline: 0203 286 8685 Mobile: 07725985636 http://www.ptfs-europe.com On 15 July 2014 21:30, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
Should I consider the use case where the library/user might want to attach more than one picture to a patron and choose a default?
Yes. This will allow for flexibility in the future.
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Agreed, +1. I could see a situation where a library takes a new picture every year, and Koha just uses the newest one as the default. Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) Mill Run Technology Solutions ( http://millruntech.com ) On Wed, Jul 16, 2014 at 12:28 PM, Renvoize, Martin < martin.renvoize@ptfs-europe.com> wrote:
+1 from me to.. initially I couldn't see a reason for multiple pictures, but then it occured to me that a history could well be useful in some instances.
Martin Renvoize Software Engineer, PTFS Europe Ltd Content Management and Library Solutions Skype: Landline: 0203 286 8685 Mobile: 07725985636
On 15 July 2014 21:30, Mark Tompsett <mtompset@hotmail.com> wrote:
Greetings,
Should I consider the use case where the library/user might want to attach more than one picture to a patron and choose a default?
Yes. This will allow for flexibility in the future.
GPML, Mark Tompsett
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (6)
-
Chris Cormack -
Christopher Nighswonger -
Kyle Hall -
Mark Tompsett -
Renvoize, Martin -
Tomas Cohen Arazi