Commit 96b7db0f authored by Frank Bergmann's avatar Frank Bergmann

Now sorting by sort_order of categories

parent e667ac41
......@@ -360,7 +360,7 @@ ad_proc -public im_absence_color_table { } {
from im_categories
where category_type = 'Intranet Absence Type' and
(enabled_p is null or enabled_p = 't')
order by category_id
order by coalesce(sort_order, category_id)
"
set index 0
db_foreach cols $col_sql {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment