Problem/Motivation

The function `_civictheme_preprocess_paragraph__node_field__summary` does trimming and other preprocessing on card summaries from nodes.

But it is hardcoded to `field_c_n_summary` - it would be nice to add a $field_name parameter with this as the default but allowing sub-theme's to change which field is operated on.

Remaining tasks

PR Coming.

API changes

Data model changes

Comments

richardgaunt created an issue. See original summary.

richardgaunt’s picture

richardgaunt’s picture

Status: Active » Needs review
fionamorrison23’s picture

  • 4783ec92 committed on 1.x
    #3574459 Provide field override for...
richardgaunt’s picture

Status: Needs review » Reviewed & tested by the community
richardgaunt’s picture

Version: 1.x-dev » 1.13.0
Assigned: joshua1234511 » Unassigned
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.