From 1c05491a24318d7594ffadc2751b37bb03933b68 Mon Sep 17 00:00:00 2001 From: kagahd Date: Fri, 24 Feb 2023 21:53:18 +0100 Subject: [PATCH] document issue #177 about overriding default sort order --- docs/index.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/index.html b/docs/index.html index 3f2d03fe..9eb2e0de 100644 --- a/docs/index.html +++ b/docs/index.html @@ -107,9 +107,9 @@ App supports full boolean logic with negation and exact or wildcard search. It also provides handy suggestions with autocomplete. -
+

- Match types: +

Match types
person:"John" # exact match
person:(John) # wildcard match
@@ -125,7 +125,7 @@
- Supported keywords:
+
Supported keywords
after:2020
@@ -146,13 +146,27 @@ 5-km-from:(New York) # photos 5 km from the center of New York
any_text:"apple", # searches for apple everywhere, "any_text:" can be omitted
- Bool expressions:
+

+

Bool expressions
John and Kate # photos with "John" and "Kate" (any string match)
John Kate # same as "John and Kate"
John or Kate # photos with "John" or "Kate" (any string match)
2-of:(John, Kate, Steve) # lists photos that satisfies at least 2 out of the 3 names (any string match)
+

+

Sort order
+ Add an empty file like .order_[ORDER].pg2conf + to a folder to override the default sorting for that folder. + It's not recursively applied to subfolders.
+ Replace [ORDER] in the above shown filename by one of the following values:
+ + descending_name
+ ascending_name
+ descending_date
+ ascending_date
+ random
+