U4-9762 ezSearch package complains about pickers in macro parameters

This commit is contained in:
Sebastiaan Janssen
2017-04-12 13:39:38 +02:00
parent 3950b35539
commit e2dc4f36ad
6 changed files with 43 additions and 37 deletions

View File

@@ -37,8 +37,8 @@ namespace Umbraco.Web.Models.Mapping
.AfterMap((property, parameter) =>
{
//map the view and the config
var paramEditor = ParameterEditorResolver.Current.GetByAlias(property.EditorAlias);
// we need to show the depracated ones for backwards compatibility
var paramEditor = ParameterEditorResolver.Current.GetByAlias(property.EditorAlias, true);
if (paramEditor == null)
{
//we'll just map this to a text box