From 37e06f9b7249ff7935d18e4c442af1c392b27e50 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Sat, 29 Aug 2020 10:47:28 +0200 Subject: [PATCH] New example --- .../themes/iph/templates/queryBuilder.ftl | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl index ee182a38..78a215a3 100644 --- a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl @@ -13,12 +13,12 @@ "condition": "AND", "rules": [ { - "id": "ALLTEXT", - "field": "ALLTEXT", + "id": "titles", + "field": "titles", "type": "string", "input": "text", - "operator": "contains", - "value": "мутазилиты" + "operator": "not_contains", + "value": "постмодернизм" }, { "condition": "OR", @@ -29,25 +29,17 @@ "type": "string", "input": "text", "operator": "contains", - "value": "природа" + "value": "постмодернизм" }, { - "id": "keywords", - "field": "keywords", + "id": "bibliography", + "field": "bibliography", "type": "string", "input": "text", "operator": "contains", - "value": "натурфилософия" + "value": "постмодернизм" } ] - }, - { - "id": "keywords", - "field": "keywords", - "type": "string", - "input": "text", - "operator": "not_contains", - "value": "модус" } ], "valid": true