Commit 103e4101 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add document count in record set.

parent ecb0ffc2
Pipeline #17684 failed with stages
in 2 minutes and 1 second
......@@ -21,11 +21,12 @@ data class RecordSetSearchDoc(
// Sort
val lastUpdatedDate: String,
// search
// Search
val scopeAndContent: LanguageContainer,
// Display
val keyVisualLink: String
val keyVisualLink: String,
val numberOfDocuments: Int
) : Schema(recordSetId) {
companion object {
......@@ -53,7 +54,8 @@ data class RecordSetSearchDoc(
periodOfTimeAsYear = "2020",
scopeAndContent = LanguageContainer.placeholder("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."),
lastUpdatedDate = "2020-11-20T10:29:01.128",
keyVisualLink = "https://mb-wf1.memobase.unibas.ch/sites/default/files/styles/teaser/public/2020-10/1.jpg?itok=5ncVBnVQ"
keyVisualLink = "https://mb-wf1.memobase.unibas.ch/sites/default/files/styles/teaser/public/2020-10/1.jpg?itok=5ncVBnVQ",
numberOfDocuments = 100
)
}
}
\ No newline at end of file
{"name":{"de":["TEST_RECORD_SET"],"fr":["TEST_RECORD_SET"],"it":["TEST_RECORD_SET"],"un":["TEST_RECORD_SET"]},"isPublished":false,"documentType":{"name":{"de":["TEST DOCUMENT TYPE"],"fr":["TEST DOCUMENT TYPE"],"it":["TEST DOCUMENT TYPE"],"un":["TEST DOCUMENT TYPE"]}},"supportedByMemoriav":true,"languageOfMetadata":{"name":{"de":["TEST LANGUAGE"],"fr":["TEST LANGUAGE"],"it":["TEST LANGUAGE"],"un":["TEST LANGUAGE"]}},"institution":{"name":{"de":["TEST INSTITUTION"],"fr":["TEST INSTITUTION"],"it":["TEST INSTITUTION"],"un":["TEST INSTITUTION"]},"filter":"INSTITUTION_IDENTIFIER"},"periodOfTimeAsYear":"2020","lastUpdatedDate":"2020-11-20T10:29:01.128","scopeAndContent":{"de":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"fr":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"it":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"un":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]},"keyVisualLink":"https://mb-wf1.memobase.unibas.ch/sites/default/files/styles/teaser/public/2020-10/1.jpg?itok=5ncVBnVQ","id":"NoRecordSetId"}
\ No newline at end of file
{"name":{"de":["TEST_RECORD_SET"],"fr":["TEST_RECORD_SET"],"it":["TEST_RECORD_SET"],"un":["TEST_RECORD_SET"]},"isPublished":false,"documentType":{"name":{"de":["TEST DOCUMENT TYPE"],"fr":["TEST DOCUMENT TYPE"],"it":["TEST DOCUMENT TYPE"],"un":["TEST DOCUMENT TYPE"]}},"supportedByMemoriav":true,"languageOfMetadata":{"name":{"de":["TEST LANGUAGE"],"fr":["TEST LANGUAGE"],"it":["TEST LANGUAGE"],"un":["TEST LANGUAGE"]}},"institution":{"name":{"de":["TEST INSTITUTION"],"fr":["TEST INSTITUTION"],"it":["TEST INSTITUTION"],"un":["TEST INSTITUTION"]},"filter":"INSTITUTION_IDENTIFIER"},"periodOfTimeAsYear":"2020","lastUpdatedDate":"2020-11-20T10:29:01.128","scopeAndContent":{"de":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"fr":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"it":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."],"un":["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]},"keyVisualLink":"https://mb-wf1.memobase.unibas.ch/sites/default/files/styles/teaser/public/2020-10/1.jpg?itok=5ncVBnVQ","numberOfDocuments":100,"id":"NoRecordSetId"}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment