Skip to content

Commit 4e70e53

Browse files
authored
Merge pull request #217 from performant-software/develop
Develop into master
2 parents a17b733 + 263990f commit 4e70e53

28 files changed

+1984
-497
lines changed

README.md

Lines changed: 139 additions & 137 deletions
Large diffs are not rendered by default.

docs/configuration-schema.md

Lines changed: 480 additions & 0 deletions
Large diffs are not rendered by default.

docs/search-detail-filtering.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Search detail filtering
2+
3+
You can filter what is shown in the detail pane when clicking an item in the search view. This is accomplished by adding a result_filtering object to the search block in the config.json file in the content directory.
4+
5+
- To filter native fields add the name of the native field to the exclude array:
6+
7+
```
8+
"exclude":["name"]
9+
```
10+
11+
- To filter user-defined fields add the GUID of the field to the exclude array:
12+
13+
```
14+
"exclude":["name", "2f400af6-ee3f-42e4-8321-7b92c5a7cd23"]
15+
```
16+
17+
- To filter one-to-many relationships (*Currently the only defined one-to-many relationship is `place_layers` in the `Place` model.*) add the relationship name to the exclude array
18+
19+
```
20+
"exclude":["name", "2f400af6-ee3f-42e4-8321-7b92c5a7cd23", "place_layers"]
21+
```
22+
23+
- To filter related records add the related record type to the exclude array.
24+
25+
The following related records can be excluded:
26+
27+
- relatedEvents
28+
- relatedInstances
29+
- relatedItems
30+
- relatedOrganizations
31+
- relatedManifest
32+
- relatedPlaces
33+
- relatedTaxonomies
34+
- relatedWorks
35+
36+
```
37+
"exclude":["name", "2f400af6-ee3f-42e4-8321-7b92c5a7cd23", "place_layers", "relatedOrganizations"]
38+
```
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
Goto Realm > Users
66

7-
![](./docs/users.png)
7+
![](users.png)
88

99
Select `Add user`
1010

11-
![](./docs/create-user.png)
11+
![](create-user.png)
1212

1313
Create a new user with both username and email set to the email address of the SSO user.
1414

@@ -22,18 +22,18 @@ Create the user by pressing `Create`
2222

2323
Goto Realm > Users
2424

25-
![](./docs/users.png)
25+
![](users.png)
2626

2727
Select `Add user`
2828

29-
![](./docs/create-user.png)
29+
![](create-user.png)
3030

3131
Create a new user with both username and email set to the email address of the SSO user.
3232

3333
Toggle `Email verified` to `Yes`
3434

3535
Create a temporary password for the user
3636

37-
![](./docs/password.png)
37+
![](password.png)
3838

3939
When the user first logs in they will be required to change it.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)