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 )
|
noo, grouping, how_many, offset, size, folders, cwd, root = ViewingOptions( request )
|
||||||
entries=[]
|
entries=[]
|
||||||
|
|
||||||
|
people = Person.query.all()
|
||||||
|
|
||||||
|
|
||||||
# per import path, add entries to view
|
# per import path, add entries to view
|
||||||
settings=Settings.query.first()
|
settings=Settings.query.first()
|
||||||
paths = settings.import_path.split("#")
|
paths = settings.import_path.split("#")
|
||||||
@@ -260,7 +263,7 @@ def files_ip():
|
|||||||
else:
|
else:
|
||||||
entries+=GetEntriesInFlatView( cwd, prefix, noo, offset, how_many )
|
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
|
# /files -> show thumbnail view of files from storage_path
|
||||||
|
|||||||
Reference in New Issue
Block a user