phpmyadmin / phpmyadmin/phpmyadmin

`$cfg['NaturalOrder']` is ignored in Create new trigger modal

Open
#18,964 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

$cfg['NaturalOrder'] is ignored in Create new trigger modal.

To Reproduce

Steps to reproduce the behavior:

  1. Set $cfg['NaturalOrder'] to true.
  2. Go to Triggers
  3. Click on Create new trigger
  4. See issue
Expected behavior

Select should respect the $cfg['NaturalOrder'] value.

Screenshots

trigger

Server configuration
  • phpMyAdmin version: 5.2.2-dev, 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

Reproduce the issue by setting $cfg['NaturalOrder'] to true and opening Triggers > Create new trigger. Trace how the modal builds its select options and compare that ordering with other NaturalOrder-aware selects. Done means the trigger modal respects the configured value.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.