diff --git a/files.py b/files.py index abfd13b..a01e5dc 100644 --- a/files.py +++ b/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