Commit efaf4ca5 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Actualiza submódulos y retoca buscador inicial

Añade nuevos facets y campos, controla casos de error.
parent 13cedc04
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -74,9 +74,6 @@ define([
						omitTitleCloseButton: true,
						facetsSearchConfig: {
							query: {
								terms: {
									starred: true
								},
								size: 10,
								sorts: [{
									field: 'id',
+2 −8
Original line number Diff line number Diff line
@@ -102,14 +102,8 @@ define([
				return;
			}

			/*if (!filterParams.text) {
				this._emitEvt('HIDE_SEARCH_RESULTS', {
					target: this.target
				});
				return;
			}*/

			var searchText = filterParams.text.text;
			var textObj = filterParams.text || {},
				searchText = textObj.text || '';

			this._emitEvt('SHOW_SEARCH_RESULTS', {
				target: this.target,
+6 −1
Original line number Diff line number Diff line
@@ -31,8 +31,13 @@ define([
			this.facetsSearchConfig = this._merge([{
				parentChannel: this.getChannel(),
				aggs: {
					"activityType": {
					themeInspire: {
						"open": true,
						"terms": {
							"field": "themeInspire.name"
						}
					},
					"activityType": {
						"terms": {
							"field": "activityType.name"
						}
+4 −3
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ define([
	, TextSearch
	, Search
) {

	return declare([Search, _Store], {
		//	summary:
		//		Todo lo necesario para trabajar con TextSearch.
Compare d5d850b8 to ccf5dbe0
Original line number Diff line number Diff line
Subproject commit d5d850b818b7832cb2df464d84131c79ab83ed5c
Subproject commit ccf5dbe0c19b6a51784d5a02ac39fd9ea70767b0
Loading