mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add date filters (#2834)
* graphql: support date and timestamp filter types * sql: add support for date & timestamp criterions * ui: add support for date and timestamp criterions * scenes: add support for filtering by date, created at and updated at * image: support filtering by created at and updated at * gallery: support filtering by date, created at and updated at * movie: support filtering by date, created at and updated at * studio: support filtering by date, created at and updated at * tag: support filtering by date, created at and updated at * performer: support filtering by bitrh & death date and created & updated at * marker: support filtering by created & updated at and scene date, created & updated at
This commit is contained in:
@@ -40,6 +40,10 @@ type ImageFilterType struct {
|
||||
PerformerFavorite *bool `json:"performer_favorite"`
|
||||
// Filter to only include images with these galleries
|
||||
Galleries *MultiCriterionInput `json:"galleries"`
|
||||
// Filter by created at
|
||||
CreatedAt *TimestampCriterionInput `json:"created_at"`
|
||||
// Filter by updated at
|
||||
UpdatedAt *TimestampCriterionInput `json:"updated_at"`
|
||||
}
|
||||
|
||||
type ImageDestroyInput struct {
|
||||
|
||||
Reference in New Issue
Block a user