Index: main/plugin-cms/resources/js/org/ametys/cms/helper/SearchContentHMIHelper.i18n.js =================================================================== --- main/plugin-cms/resources/js/org/ametys/cms/helper/SearchContentHMIHelper.i18n.js (revision 20590) +++ main/plugin-cms/resources/js/org/ametys/cms/helper/SearchContentHMIHelper.i18n.js (working copy) @@ -175,10 +175,14 @@ path = path.replace('/', ' > '); var type = configuration["property-" + i + "-type"]; + var converterFn = configuration["property-" + i + "-converter"]; + var convert = Utils.getObjectByName(converterFn); + var property = { name : name, mapping : path, type: type, + convert: convert, dateFormat: 'c' } Index: main/plugin-cms/src/org/ametys/cms/clientsideelement/SearchClientSideElement.java =================================================================== --- main/plugin-cms/src/org/ametys/cms/clientsideelement/SearchClientSideElement.java (revision 20590) +++ main/plugin-cms/src/org/ametys/cms/clientsideelement/SearchClientSideElement.java (working copy) @@ -333,6 +333,12 @@ this._initialParameters.put(prefix + "-id", new I18nizableText(id)); this._initialParameters.put(prefix + "-path", new I18nizableText(path)); this._initialParameters.put(prefix + "-type", new I18nizableText(type)); + + String convertFn = configuration.getChild("converter").getValue(null); + if (convertFn != null) + { + this._initialParameters.put(prefix + "-converter", new I18nizableText(convertFn)); + } } /**