convert files_rbp to new query_data model

This commit is contained in:
2025-09-30 18:37:15 +10:00
parent a0e06717ac
commit 70ca93b14e

View File

@@ -631,10 +631,10 @@ def files_rbp():
# now we have reset the offset, etc. into the prefs, we can use a GET and this will be back/forward browser button safe
if request.method=='POST':
redirect("/files_rbp")
entries=GetEntries( OPT )
people = Person.query.all()
move_paths = MovePathDetails()
return render_template("files.html", page_title=f"View Files ({OPT.path_type} Path)", entry_data=entries, OPT=OPT, move_paths=move_paths )
query_data = GetQueryData( OPT )
return render_template("files.html", page_title=f"View Files ({OPT.path_type} Path)", OPT=OPT, people=people, move_paths=move_paths, query_data=query_data )
################################################################################
# search -> GET version -> has search_term in the URL and is therefore able to