[Koha-bugs] [Bug 11708] Display all basketgroups on one page, and new column aqbasketgroups.closeddate

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 25 19:09:50 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11708

--- Comment #12 from mathieu saby <mathsabypro at gmail.com> ---
As I wrote, I made a patch adding the same feature (bug 11438). It does not
apply, and I prefer not to rewrite it, but to wait for Jonathan's patches to be
pushed.

I put here the differences between my patch and Jonathan ones. Maybe it can be
useful for QA, maybe not...

Functionaly : 
My patch creates a field for closedate, but also an other for creationdate of
the bg. I think it can be useful, but can be added in a 2d time after bug 11708
is pushed
In the templates, the 2 dates are displayed in
- in lists of opened/closed basketgroups
- in an individual basketgroup.

Internaly:
I named the new fields "bg_closedate" and "bg_creationdate", to be sure there
won't be any conflict with fields present in other tables with ambiguous names
like "closedate" or "creationdate"
I removed "closed" field, because I don't think it is needed anymore

And finally, updatedatabase.pl creates the 2 columns and removes closed column,
but also populates the 2 new columns:
- bg_creationdate with the most recent closing date of the baskets included in
each basketgroup
- bg_closingdate with NULL is the bg is open, or with the most recent closing
date of the baskets included in each basketgroup


Mathieu

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


More information about the Koha-bugs mailing list