Bug 4830

Summary: item type on purchase suggestion not carried over
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: AcquisitionsAssignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: item type showing on the manage suggestions page
changed to the first alpha item type when editing

Description Nicole C. Engard 2010-05-27 14:59:53 UTC
Created attachment 2178 [details]
item type showing on the manage suggestions page

When editing a suggestion the item type that the patron picked isn't displayed.  The patron can choose an item type from the OPAC, but it doesn't actually record that anywhere - or if it does it doesn't display to the staff.
Comment 1 Nicole C. Engard 2010-05-27 15:00:21 UTC
Created attachment 2179 [details]
changed to the first alpha item type when editing
Comment 2 Katrin Fischer 2011-10-29 12:42:59 UTC
I tested on current master and the item type saves correctly now.

1) Made suggestion in OPAC, set itemtype to 'mixed materials'
2) Checked suggestions in staff, item type code was shown in list of pending suggestions
3) Checked organising by item type worked
4) Edited suggestion, correct item type was selected

Please reopen if I missed something.
Comment 3 Katrin Fischer 2011-10-29 12:52:00 UTC
Owen Leonard noted on bug 4069:
Bug 4830 seems to prevent values from being saved
if the form display collection codes. If you have the AdvancedSearchTypes
system preference set to 'itemtype' values are stored correctly and this filter
works.

I tested this too and it works now. 

- The collection code is saved into the itemtype column in suggestions. 
- The suggestion list shows the correct collection code.
- When you open the suggestion for editing, the correct pull down list for collections is shown.