Swap order and filter in xdb_get_table
Check while also in styler
Introduce xdb_get_table_by_pk
Refactor out magic constant XSM_CT_ALL
Alpha version of #835: order by department first (needs enhancements)
Merge branch 'master' of github.com:lesh-dev/core