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

Lucas Gass <[email protected]> changed:

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

--- Comment #3 from Lucas Gass <[email protected]> ---
Created attachment 150310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150310&action=edit
Bug 32453: Allow template access to _result/_resultset

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.

Test Plan:
1) Modify the CHECKOUT notice, add "*[% biblio._result %]*" to your
   notice
2) Generate a CHECKOUT notice, note you only get "**"
3) Apply this patch
4) Restart all the things!
5) Generate a CHECKOUT notice, note you know get something like
   "*Koha::Schema::Result::Biblio=HASH(0x564f907a3390*" in your notice!

Signed-off-by: Lucas Gass <[email protected]>

-- 
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