View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001673 | OXID eShop (all versions) | 1.08. Listmania, Notice list, Gift registry | public | 2010-03-01 17:10 | 2012-12-07 14:33 |
Reporter | Moehlis | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.1 revision 27257 | ||||
Summary | 0001673: default sorting "desc" is not preselected in sorting select box | ||||
Description | when using default sorting on category as "desc", it wont be preselected in the template. reason: oxubase.php:prepareSortColumns() checks if the direction is a valid alpha: oxUtils::getInstance()->isValidAlpha( $sSortDir ) but in real "desc" is " desc ", so the check will fail everytime. the whitespaces are set in alist.php:getSorting() $sSortDir = ( $oActCat->oxcategories__oxdefsortmode->value ) ? " desc " : null; i fixed it by just removing the whitespaces. it dont seem to have any negative effect to queries or so on. | ||||
Tags | Listmania | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||