mirror of
https://github.com/stashapp/stash.git
synced 2026-06-11 07:41:08 -05:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc6917f29d | ||
|
|
9636ff7c16 | ||
|
|
81f642b8b8 | ||
|
|
6f848f7f1c |
@@ -68,7 +68,7 @@ const Changelog: React.FC = () => {
|
||||
// after new release:
|
||||
// add entry to releases, using the current* fields
|
||||
// then update the current fields.
|
||||
const currentVersion = stashVersion || "v0.28.0";
|
||||
const currentVersion = stashVersion || "v0.28.1";
|
||||
const currentDate = buildDate;
|
||||
const currentPage = V0280;
|
||||
|
||||
|
||||
@@ -720,7 +720,12 @@ const SceneLoader: React.FC<RouteComponentProps<ISceneParams>> = ({
|
||||
|
||||
const _setTimestamp = useRef<(value: number) => void>();
|
||||
const initialTimestamp = useMemo(() => {
|
||||
return Number.parseInt(queryParams.get("t") ?? "0", 10);
|
||||
const t = queryParams.get("t");
|
||||
if (!t) return 0;
|
||||
|
||||
const n = Number(t);
|
||||
if (Number.isNaN(n)) return 0;
|
||||
return n;
|
||||
}, [queryParams]);
|
||||
|
||||
const [queueTotal, setQueueTotal] = useState(0);
|
||||
|
||||
@@ -81,4 +81,4 @@ export const PERFORMER_FIELDS = [
|
||||
"details",
|
||||
];
|
||||
|
||||
export const STUDIO_FIELDS = ["name", "image", "urls", "parent_studio"];
|
||||
export const STUDIO_FIELDS = ["name", "image", "url", "parent_studio"];
|
||||
|
||||
@@ -20,7 +20,10 @@ const StudioFieldSelect: React.FC<IProps> = ({
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
const [excluded, setExcluded] = useState<Record<string, boolean>>(
|
||||
excludedFields.reduce((dict, field) => ({ ...dict, [field]: true }), {})
|
||||
// filter out fields that aren't in STUDIO_FIELDS
|
||||
excludedFields
|
||||
.filter((field) => STUDIO_FIELDS.includes(field))
|
||||
.reduce((dict, field) => ({ ...dict, [field]: true }), {})
|
||||
);
|
||||
|
||||
const toggleField = (field: string) =>
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
|
||||
### 🐛 Bug fixes
|
||||
|
||||
* **[0.28.1]** Fixed scene not playing from sub-second marker position when navigating from markers page. ([#5744](https://github.com/stashapp/stash/pull/5744))
|
||||
* **[0.28.1]** Fixed URL not being excluded correctly in Studio tagger. ([#5743](https://github.com/stashapp/stash/pull/5743))
|
||||
* **[0.28.1]** Fixed UI crash when loading saved filter with timestamp criteria. ([#5742](https://github.com/stashapp/stash/pull/5742))
|
||||
* Fixed errors when scraping stash-box performers with null birthdates. ([#5428](https://github.com/stashapp/stash/pull/5248))
|
||||
* Fixed video files with identical phashes being merged during scan. ([#5461](https://github.com/stashapp/stash/pull/5461))
|
||||
* Fixed scraped tags showing the scraped tag name rather than the matched tag name. ([#5462](https://github.com/stashapp/stash/pull/5462))
|
||||
|
||||
@@ -1148,8 +1148,8 @@ export class TimestampCriterion extends ModifierCriterion<ITimestampValue> {
|
||||
value: string | ITimestampValue;
|
||||
value2?: string;
|
||||
}) {
|
||||
this.setFromSavedCriterion(c);
|
||||
// this.value = decodeRangeValue(c);
|
||||
super.setFromSavedCriterion(c);
|
||||
this.value = decodeRangeValue(c);
|
||||
}
|
||||
|
||||
protected encodeValue(): unknown {
|
||||
|
||||
Reference in New Issue
Block a user