From 0c184632cf274c966b544996b2ac839b0c2bd49f Mon Sep 17 00:00:00 2001 From: Benoit Lavenier <benoit.lavenier@e-is.pro> Date: Tue, 22 Dec 2020 16:06:16 +0100 Subject: [PATCH] [enh] Home: Fix locale flags (add EO flag) [enh] Home: show message icon when there is inbox messages [enh] Search: factorize create ES request code [enh] Search: Hightlight category header [fix] Search: update search when geoDistance changed [fix] Fix settings defaultSearch, and maxAdAge [enh] Load favorites at startup --- scss/ionic.app.scss | 2 +- www/js/platform.js | 2 +- www/plugins/es/js/services/document-services.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scss/ionic.app.scss b/scss/ionic.app.scss index 5207b67c0..f03116338 100644 --- a/scss/ionic.app.scss +++ b/scss/ionic.app.scss @@ -1983,7 +1983,7 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0"; } .item.item-thumbnail-left, .item-thumbnail-left { - min-height: 100px !important; + min-height: 100px; } .item-thumbnail-left > i:first-child, diff --git a/www/js/platform.js b/www/js/platform.js index 640b7e0f9..950d1f638 100644 --- a/www/js/platform.js +++ b/www/js/platform.js @@ -349,7 +349,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services'] // removeIf(device) // -- Automatic redirection to HTTPS - if ((csConfig.httpsMode === true || csConfig.httpsMode == 'true' ||csConfig.httpsMode === 'force') && + if ((csConfig.httpsMode === true || csConfig.httpsMode === 'true' ||csConfig.httpsMode === 'force') && $window.location.protocol !== 'https:') { $rootScope.$on('$stateChangeStart', function (event, next, nextParams, fromState) { var path = 'https' + $rootScope.rootPath.substr(4) + $state.href(next, nextParams); diff --git a/www/plugins/es/js/services/document-services.js b/www/plugins/es/js/services/document-services.js index c654de8e0..cba149d99 100644 --- a/www/plugins/es/js/services/document-services.js +++ b/www/plugins/es/js/services/document-services.js @@ -66,7 +66,6 @@ angular.module('cesium.es.document.services', ['ngResource', 'cesium.platform', function _readSearchHits(res, options) { options.issuerField = options.issuerField || 'pubkey'; - console.log("TODO: ", res); var hits = (res && res.hits && res.hits.hits || []).reduce(function(res, hit) { var doc = hit._source || {}; doc.docType = doc.type; // Save source.type, before replacement -- GitLab