User tests: Successful: Unsuccessful:
$('tr[parents*=" '+parentId+'"]'); - selects parent id 2, 2[0..9] etc. so when there are a lot of categories, sorting does not work properly.
'tr[parents~="'+parentId+'"] - this select exact phrase selected by space or at the beggining or the end of attribute value.
http://api.jquery.com/category/selectors/attribute-selectors/
Labels |
Added:
?
|
Labels |
Added:
?
|
Hi mrunalpittalia,
of course. I have attached sql dump of jos_categories with data, that are in situation, when the bug appears. Try to move categories 92 or 99.
Cheers, Jan.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
Ok, zip or sql files are not allowed here. Download link: Your text to link here...
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
Thank you for the sql dump. I tested it and your patch resolves the issue.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
@test OK
Tested in the provided sample and in a clean installation with the classic categories
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
BTW: compojoom - comment - 17 Oct 14 "I tested it and your patch resolves the issue." @test OK
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
Category | ⇒ | JavaScript |
Multiple good tests - thanks - setting to RTC
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Merged into staging
. Thanks!
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-12-02 19:33:39 |
Labels |
Removed:
?
|
@test
Hello prokyhb,
Can you please provide more information on how to test the fix?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4665.