[Koha-bugs] [Bug 8629] update of statistics fields on fund selection in order creation/edition
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 13 14:11:22 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8629
Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|koha-bugs at lists.koha-commun |fridolyn.somers at biblibre.co
|ity.org |m
--- Comment #1 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 11575
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11575&action=edit
Proposed patch
Proposed patch.
Now fetchSortDropbox() replaces entire existing statistic field (select or
input) by a select or an input.
So fetch_sort_dropbox.pl returns an entire select or input.
Test plan :
-----------
Create a fund with authorized values for statistics : "foundwith".
Create a fund without authorized values for statistics : "foundwithout".
In a acquisition basket :
For both order creation/edition : "from a new (empty) record" and "from a
staged file" :
Create a new order.
=> statistic fields will be free text boxes.
Select "foundwith" fund.
=> statistic fields turns to combo-boxes.
Select "foundwithout" fund.
=> statistic fields turns to free text boxes.
Enter a value in statistic fields.
Save the order.
Modify it.
=> the statistic values are well saved.
Select "foundwith" fund.
Select values for statistic fields.
Save the order.
Modify it.
=> the statistic values are well saved.
--
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