Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

date fields won't display in summaries (or as sortable fields) #1089

Open
mimecine opened this issue Feb 24, 2024 · 2 comments
Open

date fields won't display in summaries (or as sortable fields) #1089

mimecine opened this issue Feb 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mimecine
Copy link

Title says it all.

    summary: "{{title}} - {{venue | upper | truncate(10,'...')}} - {{start}} to {{end | date('yyyy')}}"
    summary_fields: ["title","venue","start","end"]
    sortable_fields: 
      fields: ["title","venue","start","end"]
      default:
        field: "end"
        direction: Descending

The above exposes another problem: format filters do nothing.
I did try to prefix the fields like {{fields.start}} but there was no difference in behavior.

@KaneFreeman
Copy link
Collaborator

What version are you using?

@KaneFreeman KaneFreeman added the bug Something isn't working label Apr 26, 2024
@mimecine
Copy link
Author

I just tried with 4.3.0 from cdn and it has the same problems. I would love to dive into it and provide a PR (if I manage to fix anything), but I have a hard time finding where the code is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants