https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31187

--- Comment #21 from Nick Clemens <[email protected]> ---
Created attachment 150597
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150597&action=edit
Bug 31187: (follow-up) Check if input in form, not if values passed

This patch updates the check to see if there was a form input present,
not if a value was passed.

$attr contains an item colum
@form_attr contains the form inputs for the attribute
@values (renamed from @v) contains the uniq values passed in to the form

We want to know if permanent_location is in the form, not if it had values,
to know if we should preserve the DB value

To test:
1 - Apply patches
2 - Make sure permanent_location is not mapped to a marc field
3 - Batch edit an item, changing shelving location
4 - Confirm both location and permanent_location are changed

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to