[Koha-bugs] [Bug 9691] New: Acquisition's "Statistic" fields not being populated by Asort authorised_value categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 22 05:03:50 CET 2013


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

            Bug ID: 9691
           Summary: Acquisition's "Statistic" fields not being populated
                    by Asort authorised_value categories
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au

Currently, when you are adding an order to a basket in the Acquisitions module,
there are two "Statistic" input fields which link to the Sort1 and Sort2 fields
in the aqorders table.

These "Statistic" input fields should also be linked to the Asort1 and Asort2
authorised value categories, which should cause drop-down menus to replace the
free-text input fields, when there are values in these categories. 

Currently, this is not happening.

To test:
1) Go to Acquisitions
2) Do a Vendor search (Note: an empty value in the search will retrieve all
vendors)
3) Click on New Basket, and type in a test basket name
4) Add order to the basket by one of the means provided
5) Note that the "Statistic 1" and "Statistic 2" fields are free-text inputs
fields (example URL:
(/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=1&basketno=27&biblionumber=1))
6) In a new tab, go to Administration->Authorized Values
7) Add values to the Asort1 and Asort2 categories
8) Refresh the page showing "Statistic 1" and "Statistic 2" 
9) Note that the input fields are still free-text and not drop-down menus
(Note: feel free to flush your memcache to check to see if it's a template
caching issue. I've already done this and it doesn't seem to be the case.)

For an example of the behaviour that should occur:
1) Add values to Bsort1
2) Create a new Patron
3) Note that BSort2 is a free-text input field (if the BSort2 authorised value
category is empty), while Bsort1 will be a drop-down list of the values you
added to the authorised value list.

-- 
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