mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +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:
@@ -75,6 +75,12 @@ type SceneFilterType struct {
|
||||
InteractiveSpeed *IntCriterionInput `json:"interactive_speed"`
|
||||
|
||||
Captions *StringCriterionInput `json:"captions"`
|
||||
// Filter by date
|
||||
Date *DateCriterionInput `json:"date"`
|
||||
// Filter by created at
|
||||
CreatedAt *TimestampCriterionInput `json:"created_at"`
|
||||
// Filter by updated at
|
||||
UpdatedAt *TimestampCriterionInput `json:"updated_at"`
|
||||
}
|
||||
|
||||
type SceneQueryOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user