Group titles not displaying properly

Created on 23 July 2019, almost 6 years ago
Updated 26 February 2023, about 2 years ago

Two related problems when using two or more group levels. First, the first level group title is displayed twice. Second, the title for group other than the highest level quotes HTML.

πŸ› Bug report
Status

Postponed: needs info

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bwong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    @bwong, Thank you for reporting this problem. We rely on issue reports like this to improve Drupal core.

    There hasn't been any activity here for 4 years.

    Is this still a problem? If so, in order to investigate this we need complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • πŸ‡³πŸ‡ΏNew Zealand quietone
  • Status changed to Closed: outdated over 1 year ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    No further information has been supplied, therefor closing this issue.

    If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

  • πŸ‡ΊπŸ‡ΈUnited States bwong

    I know that this is late but it looks like a Webform related problem. You need to have a table with at least two grouping fields that rewrite the field contents with HTML like a link. If you use just node fields things work well. If you use webform submission or global text fields then the problem arises.

  • πŸ‡ΊπŸ‡ΈUnited States bwong

    It turns out there is a simple fix. The Views grouping support used a simple string that would get quoted. Changing it to a Markup object fixes things.

  • πŸ‡ΊπŸ‡ΈUnited States bwong

    Actually, this patch should be expanded so the it is bracketed by a <span> with a class so it can be identified. Right now it is a simplel string. It could be added by custom text but providing a standard class makes it easier to modify using CSS.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thanks for working on it

    So all fixes should be in MRs now and as a bug probably needs test coverage

    Also issue summary should follow the standard issue template

    Thanks!

  • πŸ‡ΊπŸ‡ΈUnited States bwong

    Will do. Haven't done changes in a while and have nt written a test before. Something new to do.

  • πŸ‡ΊπŸ‡ΈUnited States bwong
  • Merge request !11827Issue #3069834 fix using Markup β†’ (Open) created by bwong
  • Pipeline finished with Failed
    25 days ago
    Total: 520s
    #473472
Production build 0.71.5 2024