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 : Monday, April 5, 2021 9:25:33 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I changed the search filter on Admin/Notes to show Customer notes only and didn't change anything else, including the page size, left it at 20.
When I clicked search, it loaded all the notes on one page after waiting a long, long time. We have not made any changes to this code.
I tried to upload images when I debugged in VS but the upload function wasn't working for me.

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

shaharyartiwana25816656  
#2 Posted : Tuesday, April 6, 2021 4:25:27 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)
I am able to reproduce the issue. Thanks for identifying.

To fix temporarily:

1- Open file \Website\Areas\Admin\Views\Notes\_SearchOrderNotes.cshtml
2- Search for
Code:
@Html.HiddenFor(model => model.SearchPageSize)

3- Replace with
Code:
@Html.Hidden("SearchPageSize", 20)

4- Save the file
judy at Web2Market  
#3 Posted : Tuesday, April 6, 2021 6:40:46 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, could you check the filters and paging on manage payments and manage orders also? We are having issues, but I haven't done complete troubleshooting. Our manage payments hasn't changed and if I change the date and click search, it pops back to select all.
This is a big site and they will be upgrading to 9.0.4 before going live, so it would be great to have all three pages working correctly- search filters in conjunction with paging in 9.0.4.
Thanks
shaharyartiwana25816656  
#4 Posted : Tuesday, April 6, 2021 7:54:02 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)
I am able to reproduce a similar issue on the Manage Payments search form. Manage Order search form is working fine.

To fix:
1- 1- Open file \Website\Areas\Admin\Views\Payments\_SearchPayments.cshtml
2- Search for
Code:
Code:
@Html.HiddenFor(m => m.pageSize)


3- Replace with
Code:
Code:
@Html.Hidden("PageSize", "20")


4- Save the file
judy at Web2Market  
#5 Posted : Tuesday, April 6, 2021 10:44:54 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks for the patch. I think there probably needs to be a more permanent one in the controller? Right now, if I set the page size to 50, then choose another payment status and click search, the page size resets to 20.
Users browsing this topic
Guest
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.