mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Add grid view, image to tag (#641)
* Add grid view for tags * Add tag page * Import/export tags * Add tag name uniqueness checks * Fix styling on missing marker previews * Add trace loglevel * Add SQL trace * Add filter options for tags * Add tag sort by options * Add tag page keyboard shortcuts
This commit is contained in:
@@ -38,6 +38,14 @@ func (jp *jsonUtils) saveStudio(checksum string, studio *jsonschema.Studio) erro
|
||||
return jsonschema.SaveStudioFile(instance.Paths.JSON.StudioJSONPath(checksum), studio)
|
||||
}
|
||||
|
||||
func (jp *jsonUtils) getTag(checksum string) (*jsonschema.Tag, error) {
|
||||
return jsonschema.LoadTagFile(instance.Paths.JSON.TagJSONPath(checksum))
|
||||
}
|
||||
|
||||
func (jp *jsonUtils) saveTag(checksum string, tag *jsonschema.Tag) error {
|
||||
return jsonschema.SaveTagFile(instance.Paths.JSON.TagJSONPath(checksum), tag)
|
||||
}
|
||||
|
||||
func (jp *jsonUtils) getMovie(checksum string) (*jsonschema.Movie, error) {
|
||||
return jsonschema.LoadMovieFile(instance.Paths.JSON.MovieJSONPath(checksum))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user