mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 11:18:28 +02:00
Increase tag limit in tag autocomplete (#581)
- increas tag limit to 5000 Co-authored-by: Sebastian Ruml <sebastian@sebastianruml.name>
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
async function init() {
|
async function init() {
|
||||||
// For now we cache all tags on load as the template did before
|
// For now we cache all tags on load as the template did before
|
||||||
try {
|
try {
|
||||||
tags = await apiClient.getTags({limit: 1000, offset: 0});
|
tags = await apiClient.getTags({limit: 5000, offset: 0});
|
||||||
tags.sort((left, right) => left.name.toLowerCase().localeCompare(right.name.toLowerCase()))
|
tags.sort((left, right) => left.name.toLowerCase().localeCompare(right.name.toLowerCase()))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn('TagAutocomplete: Error loading tag list');
|
console.warn('TagAutocomplete: Error loading tag list');
|
||||||
|
Reference in New Issue
Block a user