summaryrefslogtreecommitdiff
path: root/tests/data/complex
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-11-21 16:56:21 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-11-21 16:56:21 +0100
commitbb14bc77bd21284136ed7cc092b93c1a8d6026c1 (patch)
tree4fb57b42da2e5cc24367ad9dbca682ab8be5a80b /tests/data/complex
parent043e99bf5416e0899c02490fa600be4cfd049da1 (diff)
parent851914e5da250e6a38e83bccf182ab8af1db0d32 (diff)
Merge branch 'master' into tellico
Diffstat (limited to 'tests/data/complex')
-rw-r--r--tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml6
-rw-r--r--tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml10
-rw-r--r--tests/data/complex/settings.yaml7
3 files changed, 22 insertions, 1 deletions
diff --git a/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml b/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml
new file mode 100644
index 0000000..58b84bb
--- /dev/null
+++ b/tests/data/complex/items/28b15099c84b41ab892133cd64876a32.yaml
@@ -0,0 +1,6 @@
+name: 'A tagless item'
+description: |
+ .
+position: 'somewhere'
+something: ''
+tags:
diff --git a/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml b/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml
new file mode 100644
index 0000000..1c7070c
--- /dev/null
+++ b/tests/data/complex/items/73097121f1874a6ea2f927db7dc4f11e.yaml
@@ -0,0 +1,10 @@
+name: 'An item'
+description: |
+ multi
+ line
+ description
+position: 'over there'
+something: ''
+tags:
+ - this
+ - that
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
index 57a1773..bd2179c 100644
--- a/tests/data/complex/settings.yaml
+++ b/tests/data/complex/settings.yaml
@@ -1,5 +1,6 @@
name: "Fully featured lesana collection"
lang: 'english'
+entry_label: '{{ uid}}: {{ name }} ({{ tags }})'
fields:
- name: name
type: string
@@ -11,6 +12,10 @@ fields:
index: free
- name: position
type: string
- index: facet
+ index: field
- name: something
type: yaml
+ - name: tags
+ type: list
+ list: string
+ index: field