[Koha-bugs] [Bug 31236] Add ability to send custom item fields via SIP using Template Toolkit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 23 17:14:51 CEST 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138104|0                           |1
        is obsolete|                            |

--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 139689
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139689&action=edit
Bug 31236: Add ability to send custom item fields via SIP using Template
Toolkit

Koha has been able to send arbitrary item fields via the "item_field" parameter
in the config. We have partners that need the ability to created custom item
fields from templates, as the item_fields feature cannot accomplish what they
need. We need to add a templated custom field feature for items, similar to
what we have for patrons.

Test Plan:
1) Apply this patch
2) Choose a SIP login to use, edit that account and add the following
   *inside* the login section:
   <custom_item_field field="IN" template="[% item.itemnumber %]" />
3) Restart SIP
4) Run an item information query
5) Note the itemnumber is sent in the IN field!

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list