Bug 21859 - Fields to choose on Notice editor often contains non-applicable tables and fields
Summary: Fields to choose on Notice editor often contains non-applicable tables and fi...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
: 31100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-19 01:33 UTC by Barton Chittenden
Modified: 2023-10-07 23:59 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***