@wmfs/tymly-solr-plugin
Advanced tools
Comparing version 1.14.3 to 1.15.0
@@ -0,1 +1,8 @@ | ||
# [1.15.0](https://github.com/wmfs/tymly-solr-plugin/compare/v1.14.3...v1.15.0) (2019-04-16) | ||
### ✨ Features | ||
* query tags ([7474bb8](https://github.com/wmfs/tymly-solr-plugin/commit/7474bb8)) | ||
## [1.14.3](https://github.com/wmfs/tymly-solr-plugin/compare/v1.14.2...v1.14.3) (2019-03-18) | ||
@@ -2,0 +9,0 @@ |
@@ -148,4 +148,5 @@ 'use strict' | ||
const domain = filters.domain ? `%20AND%20domain:${filters.domain}` : `` | ||
const tags = event.tags && event.tags.length > 0 ? `%20AND%20tags:(${event.tags.map(tag => `"${tag}"`).join('%20OR%20')})` : `` | ||
const sortQuery = filters.orderBy ? `&sort=${filters.orderBy.replace(/ /g, '%20')}` : '&sort=created%20desc' | ||
const query = `q=*:*${domain}${userRolesQuery}${categoryQuery}${activeEvent}${fq}${sortQuery}&start=${event.offset}&rows=${event.limit}` | ||
const query = `q=*:*${domain}${tags}${userRolesQuery}${categoryQuery}${activeEvent}${fq}${sortQuery}&start=${event.offset}&rows=${event.limit}` | ||
@@ -152,0 +153,0 @@ console.log(query) |
{ | ||
"name": "@wmfs/tymly-solr-plugin", | ||
"version": "1.14.3", | ||
"version": "1.15.0", | ||
"description": "Plugin which handles interaction with Apache Solr for Tymly framework", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/wmfs/tymly-solr-plugin#readme", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126986
2151