fixed the import path to be able to select all of the people under the ai context menu
This commit is contained in:
5
files.py
5
files.py
@@ -248,6 +248,9 @@ def files_ip():
|
||||
noo, grouping, how_many, offset, size, folders, cwd, root = ViewingOptions( request )
|
||||
entries=[]
|
||||
|
||||
people = Person.query.all()
|
||||
|
||||
|
||||
# per import path, add entries to view
|
||||
settings=Settings.query.first()
|
||||
paths = settings.import_path.split("#")
|
||||
@@ -260,7 +263,7 @@ def files_ip():
|
||||
else:
|
||||
entries+=GetEntriesInFlatView( cwd, prefix, noo, offset, how_many )
|
||||
|
||||
return render_template("files.html", page_title='View Files (Import Path)', entry_data=entries, noo=noo, grouping=grouping, how_many=how_many, offset=offset, size=size, folders=folders, cwd=cwd, root=root )
|
||||
return render_template("files.html", page_title='View Files (Import Path)', entry_data=entries, noo=noo, grouping=grouping, how_many=how_many, offset=offset, size=size, folders=folders, cwd=cwd, root=root, people=people )
|
||||
|
||||
################################################################################
|
||||
# /files -> show thumbnail view of files from storage_path
|
||||
|
||||
Reference in New Issue
Block a user