Merge branch 'develop' of github.com:OpenBankProject/API-Explorer into develop

This commit is contained in:
Marko Milic 2016-07-01 09:59:36 +02:00
commit a971219019

View File

@ -316,13 +316,18 @@ class ApiExplorer extends Loggable {
x
}
val resources = if (filteredResources4.length > 0) {
val resourcesToUse = if (filteredResources4.length > 0) {
logger.debug("tags filter reduced the list of resource docs to zero so not using that filter")
filteredResources4
} else {
filteredResources3
}
val resources = resourcesToUse.sortBy(r => (r.tags.take(1).toString(), r.summary.toString))
// Headline and Description of the search
val (catalogHeadline, catalogDescription) = List(showCore, showOBWG, showPSD2) match {