mirror of
https://github.com/stashapp/stash.git
synced 2026-05-03 20:32:26 +02:00
Add page sizes up to 1000 (#904)
This commit is contained in:
parent
01227ceb85
commit
90c5a9dd4a
4 changed files with 6 additions and 4 deletions
|
|
@ -117,8 +117,9 @@ func getPagination(findFilter *FindFilterType) string {
|
|||
} else {
|
||||
perPage = *findFilter.PerPage
|
||||
}
|
||||
if perPage > 120 {
|
||||
perPage = 120
|
||||
|
||||
if perPage > 1000 {
|
||||
perPage = 1000
|
||||
} else if perPage < 1 {
|
||||
perPage = 1
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
* Add selective scene export.
|
||||
|
||||
### 🎨 Improvements
|
||||
* Increase page size limit to 1000 and add new page size options.
|
||||
* Add support for query URL parameter regex replacement when scraping by query URL.
|
||||
* Include empty fields in isMissing filter
|
||||
* Show static image on scene wall if preview video is missing.
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ interface IListFilterProps {
|
|||
itemsSelected?: boolean;
|
||||
}
|
||||
|
||||
const PAGE_SIZE_OPTIONS = ["20", "40", "60", "120"];
|
||||
const PAGE_SIZE_OPTIONS = ["20", "40", "60", "120", "250", "500", "1000"];
|
||||
const minZoom = 0;
|
||||
const maxZoom = 3;
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export const ParserInput: React.FC<IParserInputProps> = (
|
|||
setPattern(pattern + field.getFieldPattern());
|
||||
}
|
||||
|
||||
const PAGE_SIZE_OPTIONS = ["20", "40", "60", "120"];
|
||||
const PAGE_SIZE_OPTIONS = ["20", "40", "60", "120", "250", "500", "1000"];
|
||||
|
||||
return (
|
||||
<Form.Group>
|
||||
|
|
|
|||
Loading…
Reference in a new issue