tokenshift/obsidian-page-gallery

[Bug] Parameters not included in Fields Showing Up as Fields

Closed this issue · 1 comments

Hi. I noticed that due to a recent update values other than those in fields:, such as values in from:,groupBy:, and sortBy:, show up as fields in the generated page gallery.

From: Field

Screenshot 2023-02-26 142845
Screenshot 2023-02-26 142820
The only field that is expected to appear is the file name, but the file path appears as well.

sortBy: Field

Screenshot 2023-02-26 142933
Screenshot 2023-02-26 142908
Here again, the only expected field is the file name. The file path does not show anymore, but is instead replaced by the values that the notes are being sorted by.

groupBy: Field

Screenshot 2023-02-26 143121
Screenshot 2023-02-26 143104
Here, I want to show the file name, sort the files by creation date, and group them by the subfolder they are in, rendered as a link. This all works, but now both the sortBy and groupBy values are both showing up as their own fields on each page gallery tile as well.


It seems like after the update other fields show up on the page gallery tiles rather than just those specified in the fields: field.

Thank you for the bug report! This should be fixed now in v0.4.2.