dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function() {
			this.writeDebug('order',arguments);
			var _this = this,
				$mapDiv = $('#' + _this.settings.mapID),
				$orderSelect = $('#' + _this.settings.orderID);

			if ($orderSelect.length === 0) {
				return;
			}

			$orderSelect.on('change.'+pluginName, function (e) {
				e.stopPropagation();

				// Reset pagination.
				if (_this.settings.pagination === true) {
					_this.paginationChange(0);
				}

				_this.settings.sortBy.order = $(this).val();

				// Callback
				if (_this.settings.callbackOrder) {
					_this.settings.callbackOrder.call(this, _this.settings.order);
				}

				if ($mapDiv.hasClass('bh-sl-map-open')) {
					_this.mapping(mappingObj);
				}
			});
		}
function() {
			this.writeDebug('order',arguments);
			var _this = this,
				$mapDiv = $('#' + _this.settings.mapID),
				$orderSelect = $('#' + _this.settings.orderID);

			if ($orderSelect.length === 0) {
				return;
			}

			$orderSelect.on('change.'+pluginName, function (e) {
				e.stopPropagation();

				// Reset pagination.
				if (_this.settings.pagination === true) {
					_this.paginationChange(0);
				}

				_this.settings.sortBy.order = $(this).val();

				// Callback
				if (_this.settings.callbackOrder) {
					_this.settings.callbackOrder.call(this, _this.settings.order);
				}

				if ($mapDiv.hasClass('bh-sl-map-open')) {
					_this.mapping(mappingObj);
				}
			});
		}
function ( ) { this . writeDebug ( 'order' , arguments ) ; var _this = this , $mapDiv = $ ( '#' + _this . settings . mapID ) , $orderSelect = $ ( '#' + _this . settings . orderID ) ; if ( $orderSelect . length === 0 ) { return ; } $orderSelect . on ( 'change.' + pluginName , function ( e ) { e . stopPropagation ( ) ; // Reset pagination. if ( _this . settings . pagination === true ) { _this . paginationChange ( 0 ) ; } _this . settings . sortBy . order = $ ( this ) . val ( ) ; // Callback if ( _this . settings . callbackOrder ) { _this . settings . callbackOrder . call ( this , _this . settings . order ) ; } if ( $mapDiv . hasClass ( 'bh-sl-map-open' ) ) { _this . mapping ( mappingObj ) ; } } ) ; }
Set up front-end ordering functionality - this ties in to sorting and that has to be enabled for this to work.
Set up front - end ordering functionality - this ties in to sorting and that has to be enabled for this to work .