mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
#18944: Fixing paging in Content Picker
Work Item: 18944 --HG-- branch : 1.x
This commit is contained in:
@@ -75,6 +75,9 @@ namespace Orchard.Search.Controllers {
|
||||
item.Metadata.Type = "ContentPicker";
|
||||
}
|
||||
|
||||
// retain the parameter in the pager links
|
||||
RouteData.Values["searchText"] = searchText;
|
||||
|
||||
dynamic tab = Services.New.SearchContentTab()
|
||||
.ContentItems(list)
|
||||
.Pager(pagerShape)
|
||||
|
Reference in New Issue
Block a user