package templates templ CollectionRules(user User, collection CollectionDetailData) {
Auto-Assign Rules
Create auto-assign rules to automatically add books to this collection
Books that would be added by this rule:
Add all Science Fiction books
Field: genre
Operator: equals
Value: Science Fiction
Add books from a specific series
Field: series
Operator: starts with
Value: Harry Potter
Add books published in a year range
Field: copyright_year
Operator: greater than
Value: 2020