improvemnts:

- ordering of bookmarks
- limitation of bookmarks on index page
- date for bookmarks that did not have a date before the transition
This commit is contained in:
2025-08-06 01:55:59 +02:00
parent 6f1fdc1f95
commit a450ef97b8
6 changed files with 35 additions and 20 deletions

View File

@@ -40,8 +40,8 @@
}
}
async function loadBookmarks(){
const url = api('bookmark/list');
async function loadBookmarks(offset=0,limit=100){
const url = api(`bookmark/list?offset=${offset}&limit=${limit}`);
const resp = await fetch(url,{credentials:'include'});
if (resp.ok){
const raw = await resp.json();