Bug 14462

Summary: aqorders.sort*_authcat unused?
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2015-06-25 13:56:16 UTC
It's possible to tie any fund to up to 2 authorised values to create a list instead the free text field for statistic 1 and statistic 2 on the order entry form.

As the authorised value list can be different by fund, it would make sense to save the name of the list as well. In the aqorders table there are actually 2 fields for this:

sort1_authcat
sort2_authcat

... but they don't seem to be used. Testing this on a 3.18.5 database, the fields remain empty.

The codes themselves are saved correctly to:
sort1 
sort2

Saving the list would also enable displaying the right descriptions in the acquisitions wizard sort1/sort2 search options.
Comment 1 Katrin Fischer 2022-11-21 21:30:11 UTC
These fields still seem to be unused. I suggest we change that and set them to the authorised value category linked to the sort* fields.