Index: openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl,v diff -u -r1.6 -r1.6.2.1 --- openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl 21 Dec 2018 10:57:48 -0000 1.6 +++ openacs-4/packages/acs-admin/www/auth/authority-set-sort-order.tcl 1 Sep 2020 14:09:15 -0000 1.6.2.1 @@ -35,7 +35,7 @@ from auth_authorities where sort_order $op :sort_order order by sort_order $orderby_direction - limit 1}] + fetch first 1 rows only}] if {[db_0or1row dbqd..get_swap_authority $sql]} { # adjust sort_order of the passed in authority