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

            Bug ID: 32453
           Summary: Object methods _result and _resultset methods not
                    available in templates
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

There are times where it would be really useful to be able to access the
underying result or resultset within out templates. However, Template Toolkit
itself disallows this, but you can disable this feature by setting the
$Template::Stash::PRIVATE package variable to a false value.

$Template::Stash::PRIVATE = undef;   # now you can thing._private

The alternate would be to rename _result and _resultset or just provide
non-prefixed aliases as result and resultset respectively.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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