convert files_rbp to new query_data model
This commit is contained in:
4
files.py
4
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
|
# 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':
|
if request.method=='POST':
|
||||||
redirect("/files_rbp")
|
redirect("/files_rbp")
|
||||||
entries=GetEntries( OPT )
|
|
||||||
people = Person.query.all()
|
people = Person.query.all()
|
||||||
move_paths = MovePathDetails()
|
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
|
# search -> GET version -> has search_term in the URL and is therefore able to
|
||||||
|
|||||||
Reference in New Issue
Block a user