You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-11-29 22:48:28 +02:00
Implementing listing metafiles in search result
This commit is contained in:
@@ -200,6 +200,9 @@ describe('SearchManager', (sqlHelper: DBTestHelper) => {
|
||||
delete m.directory.preview;
|
||||
delete m.directory.metaFile;
|
||||
const ret = Utils.clone(m);
|
||||
delete ret.directory.lastScanned;
|
||||
delete ret.directory.lastModified;
|
||||
delete ret.directory.mediaCount;
|
||||
if ((ret.metadata as PhotoMetadata).faces && !(ret.metadata as PhotoMetadata).faces.length) {
|
||||
delete (ret.metadata as PhotoMetadata).faces;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user