current, first_eid, last_eid now work for Flat view of Paths, folder view next

This commit is contained in:
2022-01-27 17:06:31 +11:00
parent 55724ccd59
commit 07b339f5ab
3 changed files with 39 additions and 16 deletions

1
TODO
View File

@@ -20,6 +20,7 @@
- [DONE] should really define the first/last of a GetEntries search and use definitive logic to show at start or end of entries (for next/prev buttons in viewer.html)
- [DONE] store "current", "first_eid", "last_eid" in pa_user_state
- use them on reload, e.g. if current set use it not view eid (should be okay with client-side skipping, and just make sure if it is viewlist we use next/prev logic not current
- need to set current/first_eid/last_eid on import/storage/bin as well as search
- can consider an optim-- new_view page makes calls to viewlist to ADD json data only, so only trigger a new "viewlist" if we dont have data for that part of the eids
job.py:@app.route("/jobs", methods=["GET", "POST"])
job.py:@app.route("/job/<id>", methods=["GET","POST"])