? ? Pending
Pull Request for # 27514

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
20 Jan 2020

Pull Request for Issue #27514.

Summary of Changes

Corrects <select> element IDs in ordering fields.

Testing Instructions

Edit a plugin.
Inspect markup of Ordering field.

Expected result

<select> element has id="jform_ordering".

Actual result

Element has id="jformordering".

Documentation Changes Required

New argument added to JHtmlList::ordering().

avatar SharkyKZ SharkyKZ - open - 20 Jan 2020
avatar SharkyKZ SharkyKZ - change - 20 Jan 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2020
Category Libraries
avatar SharkyKZ SharkyKZ - change - 20 Jan 2020
Rel_Number 27514
Relation Type Pull Request for
Labels Added: ?
avatar SharkyKZ SharkyKZ - change - 20 Jan 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 20 Jan 2020
avatar jwaisner jwaisner - test_item - 21 Jan 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 21 Jan 2020

I have tested this item successfully on 135cf3b

After applying PR, markup changes to correct id="jform_ordering". Also confirmed that the order field saves changes.


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

avatar Quy
Quy - comment - 22 Jan 2020

Should the number be displayed? Let's do like menus where it is not and First/Last are more obvious.

ordering

avatar SharkyKZ
SharkyKZ - comment - 22 Jan 2020

Should the number be displayed?

I have no preference. But even if we change this to be like the menu field, this PR is still needed to fix the issues in the Joomla\CMS\Form\Field\OrderingField class, in case someone extends it.

avatar Quy Quy - test_item - 22 Jan 2020 - Tested successfully
avatar Quy
Quy - comment - 22 Jan 2020

I have tested this item successfully on 135cf3b


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

avatar Quy Quy - change - 22 Jan 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Jan 2020

RTC


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

avatar Quy
Quy - comment - 22 Jan 2020

RTC


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

avatar wilsonge wilsonge - close - 25 Jan 2020
avatar wilsonge wilsonge - merge - 25 Jan 2020
avatar wilsonge wilsonge - change - 25 Jan 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-01-25 23:52:09
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 25 Jan 2020

Thanks!

Add a Comment

Login with GitHub to post a comment