mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
UI and filter fixes (#2686)
* Use primitive string in recommendation row props * Use unique keys in recommendation rows The keys for the cards used while loading clash with the ids of the actual cards, causing a list unique key warning. * List filter alignment tweaks * Rework list hook filtering * Internationalise checksum correctly
This commit is contained in:
@@ -53,7 +53,7 @@ export function makeCriteria(type: CriterionType = "none") {
|
||||
case "path":
|
||||
case "checksum":
|
||||
return new StringCriterion(
|
||||
new MandatoryStringCriterionOption(type, type)
|
||||
new MandatoryStringCriterionOption("media_info.checksum", type, type)
|
||||
);
|
||||
case "oshash":
|
||||
return new StringCriterion(
|
||||
@@ -134,7 +134,7 @@ export function makeCriteria(type: CriterionType = "none") {
|
||||
case "sceneChecksum":
|
||||
case "galleryChecksum":
|
||||
return new StringCriterion(
|
||||
new StringCriterionOption("checksum", type, "checksum")
|
||||
new StringCriterionOption("media_info.checksum", type, "checksum")
|
||||
);
|
||||
case "phash":
|
||||
return new StringCriterion(PhashCriterionOption);
|
||||
|
||||
Reference in New Issue
Block a user