[Koha-bugs] [Bug 9088] neworderempty should preselect the only fund

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 14 06:18:56 CEST 2014


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26790|0                           |1
        is obsolete|                            |

--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 27067
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27067&action=edit
[SIGNED OFF] Bug 9088: neworderempty should preselect the only fund

If there is only one fund in the select combo (and the fund is mandatory),
neworderempty should just select it already.
If there are more choices, behavior does not change.

This patch implements this change in the template itself.

Test plan:
With more funds, check if neworderempty does not preselect a fund (at least
when adding a line; when you modify, you should see what you had chosen).
With one fund, check if it is already selected (add or modify).
Toggle the setting of AcqCreateItem and check again.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

NOTE: I don't think AcqCreateItem affects this.
       However, I did toggle AcqCreateItem to
       'receiving an order' from 'placing an order'.
      Tested before and after patch with 1 fund
      Tested after patch with 2 funds.
      Tiny patch, does what it says. Defaults fund dropdown
       if there is only one fund.

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


More information about the Koha-bugs mailing list