feature 408: ability to automatically sort sub-categories. The number of SQL

queries is constant, no matter the deepth of your tree.

+ refactor to avoid duplicate code (ascending/desceding should be only a
single parameter in a function, not 20 lines of duplicated code)


git-svn-id: http://piwigo.org/svn/trunk@6698 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-07-23 21:33:56 +00:00
parent 361ef07c3c
commit 1448b42df0
5 changed files with 108 additions and 64 deletions
+5
View File
@@ -69,6 +69,11 @@ TABLE.plugins ul.pluginsActions {
TABLE.plugins ul.pluginsActions li { display: inline; }
/* categoryOrdering */
FORM#categoryOrdering .orderParams {
line-height:30px;
margin-bottom:10px;
}
SELECT.categoryList {
width: 100%;
}