Feature Language Change PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
7 Jul 2023

Summary of Changes

Adds the ability to have a header in the generated dropdown list as per the documentation https://docs.joomla.org/SQL_form_field_type

Testing Instructions

Create an sql custom field with a simple query eg select a.id as value, a.title as text from uajp8_content as a

Actual result BEFORE applying this Pull Request

Open an article and check the new field - it will be a dropdown list with the first item in the list displayed.
As a result when you save the article that first item will be saved and will therefore be displayed on the front end.

Expected result AFTER applying this Pull Request

There is now an additional param in the field called Header
You can use this to add a header to the dropdown list that has no value eg "- Select something -"
Open an article and check the new field - it will be a dropdown list with the first item in the list being the content you entered in the header field.
As a result when you save the article the field will have no value and will therefore not be displayed on the front end.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2023
Category Administration Language & Strings Front End Plugins
avatar brianteeman brianteeman - open - 7 Jul 2023
avatar brianteeman brianteeman - change - 7 Jul 2023
Status New Pending
avatar brianteeman brianteeman - change - 7 Jul 2023
The description was changed
avatar brianteeman brianteeman - edited - 7 Jul 2023
avatar brianteeman brianteeman - change - 7 Jul 2023
The description was changed
avatar brianteeman brianteeman - edited - 7 Jul 2023
avatar brianteeman brianteeman - change - 7 Jul 2023
Labels Added: Language Change PR-5.0-dev
avatar Quy Quy - test_item - 14 Jul 2023 - Tested successfully
avatar Quy
Quy - comment - 14 Jul 2023

I have tested this item successfully on fc0dbb2


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41122.

avatar brianteeman
brianteeman - comment - 23 Jul 2023

Would be great to get some testers here as there were a lot of people asking for this field

avatar brianteeman brianteeman - change - 23 Jul 2023
Labels Added: Feature
avatar HLeithner HLeithner - change - 23 Jul 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-07-23 18:50:21
Closed_By HLeithner
avatar HLeithner HLeithner - close - 23 Jul 2023
avatar HLeithner HLeithner - merge - 23 Jul 2023
avatar HLeithner
HLeithner - comment - 23 Jul 2023

thanks

avatar brianteeman
brianteeman - comment - 23 Jul 2023

thanks

Add a Comment

Login with GitHub to post a comment