[Koha-bugs] [Bug 26746] New: Variables available for selecting into notices are misleading

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 20 11:43:22 CEST 2020


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

            Bug ID: 26746
           Summary: Variables available for selecting into notices are
                    misleading
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

The list of variables available to selectively add to a notice can be
misleading.  They are currently a list of database field names selected by the
module which the notice has been assigned to.. however not all notices actually
pass all these tables into GetPreparedLetter and so not all variables are
always supported and sometimes additional 'hidden' ones are available.

We should clarify this and add support for TT variables at the same time.

I believe we could/should do this within C4::Letters itself with a
configuration block that lists accepted variables (tables, substitutions, loops
etc) which can then be used both to construct the lists in the UI and also to
check that the calls to GetPreparedLetter are indeed passing in the
required/listed variables we list.

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


More information about the Koha-bugs mailing list