php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76273 "Package affected" <select> of bug report form has 359 entries; should be split
Submitted: 2018-04-26 11:38 UTC Modified: 2018-07-23 10:12 UTC
From: bert at elicom dot nl Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2018-04-26 11:38 UTC] bert at elicom dot nl
Description:
------------
Concerns: https://bugs.php.net/report.php

The "Package affected" <select> (drop-down) on the bug report page has 359 entries.
Even with the non-breaking spaces in front of sub-entries, this is user-unfriendly.
The select should be split into a <select> for the main category, and an additional (new) <select> that will update based on the main category.

If you have no idea how to do this, the following jQuery code might help you get started:

$("#first-choice").change(function() {
  $("#second-choice").load("getter.php?choice=" + $("#first-choice").val());
});

Then, in getter.php simply print() the "<option value="...">...</option>" entries that should show up for $_GET['choice'].


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-23 10:12 UTC] kalle@php.net
-Status: Open +Status: Analyzed
 [2018-07-23 10:12 UTC] kalle@php.net
I agree this list is very exceesive and should be split. Personally I can't think of a decent middle ground atm, perhaps when (or rather if), the bug reporting system is updated to the "new" php.net design, this could be a task
 [2018-10-08 02:54 UTC] zrhoffman at ku dot edu
Split the "package affected" dropdown into categories.
https://github.com/php/web-bugs/pull/46
 [2018-10-22 23:17 UTC] petk@php.net
Automatic comment on behalf of zrhoffman@ku.edu
Revision: http://git.php.net/?p=web/bugs.git;a=commit;h=5344b77166b0826165792f12042a72383fcbba93
Log: Fix #76273: Package affected section should be split
 [2018-10-22 23:17 UTC] petk@php.net
-Status: Analyzed +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 12:01:29 2024 UTC