Commits

Zhang Huangbin committed b523ad5

Fixed: [mysql/pgsql] List all users in Admins page.

Comments (0)

Files changed (4)

+= 0.2 =
+    * Fixed:
+        + [mysql/pgsql] List all users in Admins page.
+
 = 0.1.9 =
     * New features:
         + Mark mail user as global admin.
 __author__ = 'Zhang Huangbin'
 __author_mail__ = 'zhb@iredmail.org'
-__version_ose__ = '0.1.9'
+__version_ose__ = '0.2'
 __url_latest_ose__ = 'http://iredmail.org/version/check.py/ose.xml'
 __no__ = ''
 __id__ = ''

libs/mysql/admin.py

                 """
                 SELECT name, username, language, active, isadmin, isglobaladmin
                 FROM mailbox
+                WHERE isadmin=1
                 ORDER BY username ASC
                 %s
                 """ % (self.sql_limit)

libs/pgsql/admin.py

                 """
                 SELECT name, username, language, active, isadmin, isglobaladmin
                 FROM mailbox
+                WHERE isadmin=1
                 ORDER BY username ASC
                 %s
                 """ % (self.sql_limit)