From 70ca93b14e54c1bc76719491ab864ed56e05f00e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Tue, 30 Sep 2025 18:37:15 +1000 Subject: [PATCH] convert files_rbp to new query_data model --- files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files.py b/files.py index efffa8d..61406ec 100644 --- a/files.py +++ b/files.py @@ -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