Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#16510 closed Bug (fixed)

`truncatechars` filter is buggy and unregistered

Reported by: timdumol Owned by: nobody
Component: Template system Version: master
Severity: Normal Keywords:
Cc: Chris Beaven Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description

#5025 introduced a new truncatechars filter. However, the filter is not registered as a default filter, although it is documented as such. Also, there is a typo in the patch that renders the filter unusable.

Attachments (1)

16510.diff (755 bytes) - added by timdumol 5 years ago.
Fixes the mentioned issues.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by timdumol

Attachment: 16510.diff added

Fixes the mentioned issues.

comment:1 Changed 5 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

In [16550]:

Fixed #16510 -- Actually added new truncatechars filter to the builtins and fixed a typo. Thanks, timdumol.

comment:2 Changed 5 years ago by Chris Beaven

In [16551]:

(The changeset message doesn't reference this ticket)

Note: See TracTickets for help on using tickets.
Back to Top