Bug 21859

Summary: Fields to choose on Notice editor often contains non-applicable tables and fields
Product: Koha Reporter: Barton Chittenden <barton>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, katrin.fischer
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2018-11-19 01:33:15 UTC
The fields to insert section of the notices and slips editor (Home › Tools › Notices & slips › Modify notice) bases the fields to add on 'letter.module'. Unfortunately, this means that there are often tables shown that are not actually available on the notice in question.

The most extreme example are DUEDGST and PREDUEDGST, which can only use <<branches.*>>, <<borrowers.*>>, <<items.content>> and <<count>>, but shows 

<<biblio.*>>, <<biblioitems.*>>, <<items.*>>, <<opac_news.*>> and <<issues.*>>, all of which are un-available.

This is part of the Notice documentation rfc (https://wiki.koha-community.org/wiki/Notice_documentation_rfc). See also Bug 21858.
Comment 1 Katrin Fischer 2018-11-19 07:07:17 UTC
Hi Barton, if the idea is a single point of truth, why not require patches to the manual directly? We haven't used POD like that in the past and I am not convinced we should start with another thing to maintain.
Comment 2 Katrin Fischer 2018-11-19 07:15:22 UTC
Hm, comment should have gone on bug 21858.
Comment 3 Katrin Fischer 2023-10-07 23:59:31 UTC
*** Bug 31100 has been marked as a duplicate of this bug. ***