Skip to content
Snippets Groups Projects
Commit 0c184632 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[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
parent ba926036
No related branches found
No related tags found
No related merge requests found
...@@ -1983,7 +1983,7 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0"; ...@@ -1983,7 +1983,7 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0";
} }
.item.item-thumbnail-left, .item-thumbnail-left { .item.item-thumbnail-left, .item-thumbnail-left {
min-height: 100px !important; min-height: 100px;
} }
.item-thumbnail-left > i:first-child, .item-thumbnail-left > i:first-child,
......
...@@ -349,7 +349,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services'] ...@@ -349,7 +349,7 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services']
// removeIf(device) // removeIf(device)
// -- Automatic redirection to HTTPS // -- 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:') { $window.location.protocol !== 'https:') {
$rootScope.$on('$stateChangeStart', function (event, next, nextParams, fromState) { $rootScope.$on('$stateChangeStart', function (event, next, nextParams, fromState) {
var path = 'https' + $rootScope.rootPath.substr(4) + $state.href(next, nextParams); var path = 'https' + $rootScope.rootPath.substr(4) + $state.href(next, nextParams);
......
...@@ -66,7 +66,6 @@ angular.module('cesium.es.document.services', ['ngResource', 'cesium.platform', ...@@ -66,7 +66,6 @@ angular.module('cesium.es.document.services', ['ngResource', 'cesium.platform',
function _readSearchHits(res, options) { function _readSearchHits(res, options) {
options.issuerField = options.issuerField || 'pubkey'; options.issuerField = options.issuerField || 'pubkey';
console.log("TODO: ", res);
var hits = (res && res.hits && res.hits.hits || []).reduce(function(res, hit) { var hits = (res && res.hits && res.hits.hits || []).reduce(function(res, hit) {
var doc = hit._source || {}; var doc = hit._source || {};
doc.docType = doc.type; // Save source.type, before replacement doc.docType = doc.type; // Save source.type, before replacement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment