logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Friday, May 7, 2021 8:22:45 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I'm trying to change the default page size in the admin for most of the pages to 50. I've done it in the orders controller in _ListOrders and ListOrders. It works OK some of the time, but when I click search after changing the search options, it jumps back to 20. Is there somewhere else I need to change it? Is there somewhere the default page size is set to 20 for everything in the admin maybe?
Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Monday, May 10, 2021 2:20:09 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
For Manage Order screen, you need to make another change is OrderSearch.cshtml file.

1- Open file Website\Areas\Admin\Views\Orders\_OrderSearch.cshtml
2- Search for
Code:
@Html.Hidden("PageSize", "20")

3- Replace with
Code:
@Html.Hidden("PageSize", "50")
thanks 1 user thanked shaharyar for this useful post.
judy at Web2Market on 5/10/2021(UTC)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.