phpmyadmin / phpmyadmin/phpmyadmin

[6.0]: SQL export options are shown on other export formats

Open
#19,999 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Describe the bug

When exporting a table with Custom - display all possible options checked and other export format than SQL, it will show the SQL export options and also the selected format export options.

How to Reproduce
  1. Go to Export
  2. Select CSV from format
  3. Check Custom - display all possible options from export method
  4. See the export options from SQL and also CSV.
  5. Select SQL
  6. Select CSV
  7. It will show only the CSV options
Expected behavior

Show the export options specific to the export format.

Screenshots

https://github.com/user-attachments/assets/12be3013-1ef3-4677-8c21-aaa546cb743f

phpMyAdmin version

6.0.0-dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Export page and trace how the selected format and the “Custom - display all possible options” setting control the displayed options. No file or test is named in the issue; done means selecting CSV shows only CSV options, while selecting SQL shows only SQL options.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, sql
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.