mirror of
https://github.com/bpatrik/pigallery2.git
synced 2026-06-20 00:15:49 +02:00
In the meantime also make search queries more uniform. Make "text" -> "value" property for both search and autocompete. This is a breaking change in DB and Config. #1104
65 lines
1.1 KiB
Plaintext
65 lines
1.1 KiB
Plaintext
[
|
|
{
|
|
"name": "Group photos",
|
|
"searchQuery": {
|
|
"type": 3,
|
|
"list": [
|
|
{
|
|
"type": 105,
|
|
"value": "Balu the bear",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Boo-Boo Bear",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Hugin the raven",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Akela the wolf",
|
|
"matchType": 1
|
|
}
|
|
],
|
|
"min": 2
|
|
}
|
|
},
|
|
{
|
|
"name": "Animals",
|
|
"searchQuery": {
|
|
"type": 2,
|
|
"list": [
|
|
{
|
|
"type": 105,
|
|
"value": "Balu the bear",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Boo-Boo Bear",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Hugin the raven",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Akela the wolf",
|
|
"matchType": 1
|
|
},
|
|
{
|
|
"type": 105,
|
|
"value": "Alvin the Squirrel",
|
|
"matchType": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|