summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Henderickx2015-09-30 19:45:17 (GMT)
committerJimmy Henderickx2015-09-30 19:45:17 (GMT)
commit3ddf192991245cc7e96fc8f9aeb89181819a9a04 (patch)
tree6a074ed397e3ceefe6c07898bea7ef985b3142a8
parent75703caa3260609338c8ae9ff217c1fb346c219a (diff)
Some debug code to trigger travistravis_debug
-rw-r--r--src/Entity/Facet.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Entity/Facet.php b/src/Entity/Facet.php
index 5122305..fe11aef 100644
--- a/src/Entity/Facet.php
+++ b/src/Entity/Facet.php
@@ -213,14 +213,17 @@ class Facet extends ConfigEntityBase implements FacetInterface {
}
public function getQueryType() {
+ return "search_api_term"; // TODO: Do not hardcode this.
return $this->query_type_name;
}
- public function getSearcherName() {
+ public function getSearcherName() { //QUESTION: Should this be defined in the facet-entity? Guess this belongs somewhere else as 1 facet can be used in multiple searchers. Maybe we should define this as a context in the block?
+ return "search_api_views:search_content:page_1"; // TODO: Do not hardcode this.
return $this->searcher_name;
}
public function getUrlProcessorName() {
+ return 'query_string'; // TODO: Do not hardcode this.
return $this->url_processor_name;
}