Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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: SmileyChris 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 3 years ago.
Fixes the mentioned issues.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by timdumol

Fixes the mentioned issues.

comment:1 Changed 3 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [16550]:

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

comment:2 Changed 3 years ago by SmileyChris

In [16551]:

(The changeset message doesn't reference this ticket)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.