mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19413: Fixing HQL queries when aliases contain dashes
Work Item: 19413 --HG-- branch : 1.x
This commit is contained in:
@@ -302,7 +302,7 @@ namespace Orchard.ContentManagement {
|
||||
throw new ArgumentException("Alias can't be empty");
|
||||
}
|
||||
|
||||
Name = name;
|
||||
Name = name.Strip('-');
|
||||
}
|
||||
|
||||
public DefaultHqlQuery<IContent> Query { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user