Skip to content

Remember table's sorting broken in 4.8.0 #14189

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

Closed
Xymph opened this issue Apr 12, 2018 · 5 comments
Closed

Remember table's sorting broken in 4.8.0 #14189

Xymph opened this issue Apr 12, 2018 · 5 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Milestone

Comments

@Xymph
Copy link

Xymph commented Apr 12, 2018

Steps to reproduce

  1. Go to: Settings -> Main panel -> Browse mode
  2. Remove checkmark at Remember table's sorting, Apply
  3. Log out, log in, repeat step 1; observe the checkmark is still there
  4. Browse to database table with a Date column sorted ASC
  5. Change sorting to DESC
  6. Log out, log in, repeat step 4; observe the table is again sorted ASC

Expected behaviour

The status of "Remember table's sorting" should be stored and displayed correctly.

The table's sorting to DESC should be preserved.

This worked fine prior to the 4.8.0 update.

Actual behaviour

The "Remember table's sorting" status in the settings is always shown checked.

The table's sorting is not remembered, despite the checkmark above.

Server configuration

Operating system: Scientific Linux 6.9

Web server: Apache 2.2.15

Database: MySQL 5.5.59

PHP version: 5.6.35

phpMyAdmin version: 4.8.0

Client configuration

Browser: Firefox ESR 52.7.3

Operating system: Scientific Linux 6.9

@aroralakshya
Copy link
Contributor

On having a quick look, I couldn't find any code written to handle 'Remember table sorting' configuration.

@Piyush3079
Copy link
Contributor

I have started working on this issue.
For me the status of "Remember table's sorting" is displaying correctly after changing the checkbox and login again.

@aroralakshya
Copy link
Contributor

For me too, but it doesn't work, does it??

@Piyush3079
Copy link
Contributor

No, it is not working for me too.

Piyush3079 added a commit to Piyush3079/phpmyadmin that referenced this issue Apr 16, 2018
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>
MauricioFauth added a commit that referenced this issue May 12, 2018
Remember table's sorting broken in 4.8.0 issue: #14189 fixed
MauricioFauth pushed a commit that referenced this issue May 12, 2018
Signed-off-by: Piyush Vijay <piyushvijay.1997@gmail.com>

(cherry picked from commit e58dd74)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
MauricioFauth added a commit that referenced this issue May 12, 2018
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
@MauricioFauth MauricioFauth self-assigned this May 12, 2018
@MauricioFauth MauricioFauth added this to the 4.8.1 milestone May 12, 2018
@MauricioFauth
Copy link
Member

Closed this in #14204.

@williamdes williamdes added Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete labels Oct 22, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
None yet
Development

No branches or pull requests

5 participants