Commit 366f56a36df4992984f51291b9fcfc648103d94a
1 parent
9ab9ecc7
change the foreign_key Int by DB_id
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
view/view_table_types.anubis
| ... | ... | @@ -18,7 +18,7 @@ public type VT_edit_entry: |
| 18 | 18 | information (String s_name, String c_name, String v_name, Int width, HK_Help_Text help), //s_name = show_name for translation, v_name = string to show |
| 19 | 19 | text (String s_name, String c_name, String value, HK_Help_Text help), //s_name = show_name for translation, c_name = table column name |
| 20 | 20 | password (String s_name, String c_name, HK_Help_Text help), //s_name = show_name for translation, c_name = table column name |
| 21 | - foreign_text(String s_name, String c_name, Int selected, VT_edit_selector selector, HK_Help_Text help), | |
| 21 | + foreign_text(String s_name, String c_name, DB_id selected, VT_edit_selector selector, HK_Help_Text help), | |
| 22 | 22 | choices_text(String s_name, String c_name, String selected, VT_edit_selector selector, HK_Help_Text help), |
| 23 | 23 | text_area (String s_name, String c_name, String value, HK_Help_Text help), //s_name = show_name for translate, c_name = table column name |
| 24 | 24 | boolean (String s_name, String c_name, Bool value, HK_Help_Text help), |
| ... | ... | @@ -60,4 +60,4 @@ public type VT_action: |
| 60 | 60 | edit_entry(String idx). |
| 61 | 61 | |
| 62 | 62 | public define String default_select = "--------------------". //20 dash |
| 63 | -public define (List(CoreAttrs),WebArgValue,String) selector_default_entry = ([], wav("0"),default_select). | |
| 63 | +public define (List(CoreAttrs),WebArgValue,String) selector_default_entry = ([], wav("none"),default_select). | ... | ... |