Add the column names and cast user_setting_enabled as text.
This commit is contained in:
parent
36292f5881
commit
21815a9ffd
|
|
@ -128,8 +128,10 @@
|
|||
list($paging_controls, $rows_per_page) = paging($num_rows, $param, $rows_per_page);
|
||||
$offset = $rows_per_page * $page;
|
||||
}
|
||||
|
||||
//get the list
|
||||
$sql = "select * from v_user_settings ";
|
||||
$sql = "select user_setting_uuid, user_uuid, user_setting_category, user_setting_subcategory, user_setting_name, user_setting_value, cast(user_setting_enabled as text), user_setting_description ";
|
||||
$sql .= "from v_user_settings ";
|
||||
$sql .= $sql_where;
|
||||
if ($order_by == '') {
|
||||
$sql .= "order by user_setting_category, user_setting_subcategory, user_setting_order asc ";
|
||||
|
|
@ -350,4 +352,4 @@
|
|||
|
||||
echo "</script>\n";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue