#18944: Fixing paging in Content Picker

Work Item: 18944

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-09-20 18:11:46 -07:00
parent c374528774
commit cda84ffc46
3 changed files with 11 additions and 1 deletions

View File

@@ -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)