From 172a195cba4a84fc30169433c901498939d0c9ea Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 23 Apr 2023 18:35:45 +0200 Subject: [PATCH] theme 98: advanced search --- .../98/advancedsearch/advancedsearch.html | 158 ++++++++++++++++++ webclient/view/98/tags/tags.html | 2 +- 2 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 webclient/view/98/advancedsearch/advancedsearch.html diff --git a/webclient/view/98/advancedsearch/advancedsearch.html b/webclient/view/98/advancedsearch/advancedsearch.html new file mode 100644 index 0000000..359ac05 --- /dev/null +++ b/webclient/view/98/advancedsearch/advancedsearch.html @@ -0,0 +1,158 @@ + + +
+
+ + +
+
+

This uses the table view as default. Remember to select the fields to show in collection config

+
+
+ +
+
+ +

Syntax

+

To search within the collection default search field, like the ordinary search, just type the search term and go.

+

+ To search within the possible fields of a collection type the field identifier followed by : and then a space. Not every search operator does make sense with tag search fields. + If the search is within a field witch is not configured to be displayed in the table view, it will be added. +

+
title: bourne
+

Available fields in are:

+
+	$v) {
+		echo $v['identifier']." ";
+	} ?>
+	
+

Possible search operators:

+
+
*
+
+ The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators, + it is appended to the word to be affected. Words match if they begin with the word preceding the * operator. +
+ +
+
+
A leading plus sign indicates that this word must be present in each row that is returned.
+ +
+
A leading minus sign indicates that this word must not be present in any of the rows that are returned.
+ +
"
+
A phrase that is enclosed within double quote (") characters matches only rows that contain the phrase literally, as it was typed.
+ +
>
+
A leading greater than sign indicates that rows greater than the number will be returned.
+ +
<
+
A leading less than sign indicates that rows smaller than the number will be returned.
+
+ + +
+
+
Search
+
+ +
+
+
+

+ Display result for:
+ (Max. result of 60) +

+
+
+ + + + +
+ + + +
+ +
+
+ +
+ + + + + '.$f['displayname'].''; + } + } + ?> + + + + + $entry) { ?> + + + + + + + + + +
#
+ # + + +
+
+ + + +

Please select a collection first

+
+ + + + + + + + + $v) { ?> + + + + + + +
NameDescription
+
+ + diff --git a/webclient/view/98/tags/tags.html b/webclient/view/98/tags/tags.html index e63ee27..8fd9d83 100644 --- a/webclient/view/98/tags/tags.html +++ b/webclient/view/98/tags/tags.html @@ -22,7 +22,7 @@

Tags for:

$v) { ?> -

+

$ev) { ?> , -- 2.39.5