big clean up of Options -> States, total rework, now actually handles pa_user_state -> States as Import/Storage/Bin/Search or View. If Search has orig_search_term saved. If view, has orig_ptype (and orig_search_term if orig_ptype is Search) -- removed OPT.paths -> these are now worked out when we GetEntries based on pa_user_state. This now allows us to GET all URLs for image viewing allowing me to use the back-button without issues in PROD - well we will see once I commit :)

This commit is contained in:
2022-01-20 17:25:01 +11:00
parent 5461cb4036
commit 78acb9bd66
5 changed files with 132 additions and 76 deletions

View File

@@ -54,8 +54,8 @@ Compress(app)
################################# Now, import separated class files ###################################
from ai import aistats
from settings import Settings
from files import Entry, GetJM_Message, ClearJM_Message
from settings import Settings
from person import Person
from job import Job, GetNumActiveJobs
from user import PAUser