mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
This simple change makes it possible to call Display on the same pager twice, which is an important scenario (display pager on top and bottom of list).
This commit is contained in:
@@ -618,7 +618,7 @@ namespace Orchard.Core.Shapes {
|
||||
|
||||
IEnumerable<string> classes = Shape.Classes;
|
||||
IDictionary<string, string> attributes = Shape.Attributes;
|
||||
attributes.Add("href", action);
|
||||
attributes["href"] = action;
|
||||
string id = Shape.Id;
|
||||
var tag = GetTagBuilder("a", id, classes, attributes);
|
||||
tag.InnerHtml = EncodeOrDisplay(Value, Display, Html).ToString();
|
||||
|
Reference in New Issue
Block a user