View Issue Details

IDProjectCategoryView StatusLast Update
0004047Composrcataloguespublic2020-01-23 16:45
ReporterAdamAssigned ToChris Graham 
Severityminor 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0004047: {CATEGORY_TITLE} has limited scope
DescriptionMost of the catalogue params can be used in the various display templates which belong to the catalogue. I wanted to use {CATEGORY_TITLE) on the GRID_ENTRY_WRAP template but it results in an error. A parameter, CATEGORY_TITLE, is referenced in the template, CATALOGUE_DEFAULT_GRID_ENTRY_WRAP, but not passed
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Activities

admin

2020-01-21 23:19

administrator   ~0006299

Automated response: Add CATEGORY_ID parameter to catalogue templates

There's currently no easy way to get the category ID from deep catalogue templates, which may be useful.

admin

2020-01-21 23:19

administrator   ~0006300

Fixed in git commit 49c9db26b (https://gitlab.com/composr-foundation/composr/commit/49c9db26b - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-4047, 2020-01-21 11pm.tar (96,768 bytes)

Chris Graham

2020-01-21 23:19

administrator   ~0006301

CATEGORY_TITLE would require additional database lookups, which would be a performance hit. But I've added CATEGORY_ID.

Adam

2020-01-23 16:45

administrator   ~0006305

Thank you

Issue History

Date Modified Username Field Change
2020-01-21 03:00 Adam New Issue
2020-01-21 23:19 Chris Graham Note Added: 0006301
2020-01-23 16:45 Adam Note Added: 0006305