migrate to bases
This commit is contained in:
@@ -4,15 +4,26 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
rating as Rating,
|
||||
year as Year,
|
||||
genre as Genre
|
||||
where
|
||||
contains(categories,this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort rating desc
|
||||
```base
|
||||
display:
|
||||
file.name: Album
|
||||
property.year: Year
|
||||
property.artist: Artist
|
||||
property.created: Added
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user