Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On ecommerce/Product category the Table sorting doesnot work properly #10110

Closed
faridnasiri opened this issue May 1, 2016 · 8 comments
Closed
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@faridnasiri
Copy link

in the following page the table sorting doesnot works correctly

6ea69591775d1a19c33510942918c3cccb5eb3cf_1_690x164

@sgiehl
Copy link
Member

sgiehl commented May 1, 2016

Thanks for the report. I'll try to reproduce that later

@tsteur tsteur changed the title On ecommerce/Product gategory the Table sorting doesnot work properly On ecommerce/Product category the Table sorting doesnot work properly May 1, 2016
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label May 27, 2016
@mattab mattab added this to the 2.16.x (LTS) milestone May 27, 2016
@mattab mattab modified the milestones: 2.16.3, 2.16.x (LTS) Jul 18, 2016
@mattab mattab modified the milestones: 2.16.x (LTS), 2.16.3 Aug 23, 2016
@mattab mattab modified the milestones: 2.16.x (LTS), 3.0.0 Aug 25, 2016
@peterbo
Copy link
Contributor

peterbo commented Aug 4, 2022

Table sort for ecommerce reports seems to be broken - however, I can't reproduce this on all instances (all version 4.10.1 currently), just some.
ecommerce-sort-order

Maybe #8556 is a duplicate.

@sgiehl
Copy link
Member

sgiehl commented Aug 5, 2022

@peterbo would you mind checking if the request parameters sent to load the datatable differ on an instance where it works vs a not working one?

@peterbo
Copy link
Contributor

peterbo commented Aug 5, 2022

Hey @sgiehl !

There doesn't seem to be a big difference:

Working example from Browser Console:

date | yesterday
isFooterExpandedInDashboard | 1
abandonedCarts | 0
viewDataTable | table
module | Goals
format | html
action | getItemsName
period | day
idSite | 9
random | 7206
filter_offset | 0
totals | 1
filter_limit | 10
filter_sort_column | nb_visits
filter_sort_order | desc
keep_totals_row | 0

Example with failed sorting:

date | 2022-08-04
isFooterExpandedInDashboard | 1
abandonedCarts | 0
viewDataTable | table
module | Goals
format | html
action | getItemsName
period | day
idSite | 1
random | 381
filter_offset | 0
totals | 1
filter_limit | 10
filter_sort_column | nb_visits
filter_sort_order | desc
keep_totals_row | 0

@sgiehl
Copy link
Member

sgiehl commented Aug 5, 2022

@peterbo ok. that looks normal. Would you check if you have some settings stored for that report in the options table. option_name should be something like viewDataTableParameters_{login}_Goals.getItemsName

@peterbo
Copy link
Contributor

peterbo commented Aug 5, 2022

I don't have direct DB access on the instance that shows the error, unfortunately. However, I created a new User for making sure, that no custom settings are done to the datatable configuration. In the config.ini.php, there are also no custom settings for the datatables (e.g. limits). Sorting error still persists.

@sgiehl
Copy link
Member

sgiehl commented Aug 7, 2022

Hm. As long as I'm not able to reproduce that, it might be hard to find the reason. If it's not caused by some datatable settings that are stored, there needs to be another reason I currently can't see. Are you able to see if the table is sorted by another column instead? Maybe the label, or another column like visits or similar? Also it would be interesting to know if that only happens in the UI or if the API also sorts incorrectly when providing sort flags...

@mattab mattab added the Can't reproduce (yet) For issues that are reported by several people, but can't be reproduced reliably and need more data label Dec 10, 2023
@sgiehl
Copy link
Member

sgiehl commented Jan 23, 2024

closing in favor of #21829

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@sgiehl sgiehl added the duplicate For issues that already existed in our issue tracker and were reported previously. label Jan 23, 2024
@sgiehl sgiehl removed this from the Backlog (Help wanted) milestone Jan 23, 2024
@sgiehl sgiehl removed Bug For errors / faults / flaws / inconsistencies etc. Can't reproduce (yet) For issues that are reported by several people, but can't be reproduced reliably and need more data labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

4 participants