Commit 2e4c19bd authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Oculta puntitos de búsqueda y revisa filtros

Sólo muestra la búsqueda avanzada desde el buscador de texto cuando sea
necesario.

Elimina títulos de filtros (por innecesarios). Unifica filtrado de
actividades de recolección de basura con las genéricas.
parent 11eb012e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ define([
	, "dojo/_base/declare"
	, "dojo/_base/lang"
	, "RWidgets/Button"
	, "templates/FilterSpeciesForm"
	, "./_AddCompositeTaxon"
], function(
	alertify
@@ -16,7 +15,6 @@ define([
	, declare
	, lang
	, Button
	, formTemplate
	, _AddCompositeTaxon
){
	return declare([SpeciesMain, _AddCompositeTaxon, _EditionWizardView], {
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@ define([
					valueChanged: lang.hitch(this, this.valueChangedForm)
				}
			}, this.compositeConfig || {}]);

			this.textSearchConfig = this._merge([{
				showExpandIcon: true
			}, this.textSearchConfig || {}]);
		},

		_mixAddCompositeTaxonEventsAndActions: function() {
+0 −12
Original line number Diff line number Diff line
@@ -21,18 +21,6 @@ define([

		constructor: function(args) {

			this.config = {
				compositeConfig: {
					formConfig: {
						dataTemplate: {
							formTitle: this.i18n.advancedSearch
						}
					}
				}
			};

			lang.mixin(this, this.config, args);

			aspect.after(this, '_defineSubscriptions', lang.hitch(this,
				this._defineAddCompositeSearchInTooltipSubcriptions));
		},
+4 −0
Original line number Diff line number Diff line
@@ -74,6 +74,10 @@ define([
			this.facetsConfig = this._merge([{
				aggs: redmicConfig.aggregations.activity
			}, this.facetsConfig || {}]);

			this.textSearchConfig = this._merge([{
				showExpandIcon: true
			}, this.textSearchConfig || {}]);
		}
	});
});
+4 −0
Original line number Diff line number Diff line
@@ -72,6 +72,10 @@ define([
			this.facetsConfig = this._merge([{
				aggs: redmicConfig.aggregations.atlasLayer
			}, this.facetsConfig || {}]);

			this.textSearchConfig = this._merge([{
				showExpandIcon: true
			}, this.textSearchConfig || {}]);
		}
	});
});
Loading