User tests: Successful: Unsuccessful:
When you use SearchTools and have a table header sorting option which isn't in the sorting dropdown, it will not work in 4.0. There is a JS error Cannot read property 'length' of undefined
.
This PR fixes that. @dgt41 As this is your code, can you check if the fix is correct? JS isn't my strongest area
desiredOption
exists before reading its propertyfullordering
fieldAll header sorting options work
Header sorting options only work if they also appear in the drodwon select.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries JavaScript |
this is why relying on one person for js in j4 is a fail
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-24 11:54:10 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
And that's why we're creating a javascript team ;) https://volunteers.joomla.org/teams/javascript-working-group
My fault! The code is fine!
@wilsonge please merge this!