Skip to content

Instantly share code, notes, and snippets.

@JoFrhwld
Created September 2, 2025 17:42
Show Gist options
  • Save JoFrhwld/edcfaa356620d7849a852173ecb48960 to your computer and use it in GitHub Desktop.
Save JoFrhwld/edcfaa356620d7849a852173ecb48960 to your computer and use it in GitHub Desktop.
folder-base
filters:
  and:
    - file.inFolder(this.file.folder)
    - file.name != this.file.name
    - not:
        - file.folder.endsWith(file.name)
formulas:
  within: link(file.folder + "/" + file.folder.split("/")[-1], file.folder.split("/")[-1])
properties:
  formula.within:
    displayName: within
views:
  - type: table
    name: Table
    order:
      - formula.within
      - file.name
      - member
    sort:
      - property: formula.within
        direction: DESC
      - property: file.name
        direction: ASC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment