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

--- Comment #19 from Pedro Amorim <pedro.amo...@ptfs-europe.com> ---
Created attachment 166276
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166276&action=edit
Bug 36182: Show vendor name if acquisition_source is a vendor_id

This will make it so if acquisition_source is of an existing vendor_id, it'll
show the vendor name instead of the id.
If it's not of an existing vendor_id, show the raw value instead.

I'm not 100% happy with this patch as it adds an edge case to Item::strings_map
but I believe the only alternative
is to make 952$e Source of acquisition an AV field in the default framework.
Not only that, but this would have to be an AV field of type 'vendors' that'd
have to allow to pick from existing vendors (similar to current 'branches').
The above is a ton more work than initial suggestions would imply.
Happy to be proven wrong (in fact, hoping I am).

This is compatible with main Koha only, not backportable to 23.11

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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