commit | e02d5c452c51c969c9c52f5c88fb39b648fbe82e | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Thu Oct 08 23:49:35 2020 +0200 |
committer | avm99963 <me@avm99963.com> | Thu Oct 08 23:49:35 2020 +0200 |
tree | 724082063b80ddc92f99fb2d4430ffd88d1ae9c9 | |
parent | 1a33172ce4e44b5cc2e2c61f8da374307323f9ac [diff] [blame] |
Afegir ordre per aula a getClasses
diff --git a/inc/Classes.php b/inc/Classes.php index eb00a83..1d5a4ac 100644 --- a/inc/Classes.php +++ b/inc/Classes.php
@@ -40,7 +40,8 @@ s.id IS NULL, is_current DESC, '.($isSignedIn ? 'u_s.subject_id IS NULL, - ' : '').'s.friendly_name ASC'; + ' : '').'s.friendly_name ASC, + c.room ASC'; $query = $con->prepare($sentence); if ($unix_time === null) $unix_time = time();