From 7934e7942e6b86bf13f0cf5dbf0580ad1b6d557d Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 19 Mar 2016 16:41:46 +0100 Subject: [PATCH] Use vt_view_row_header now for viewable table and add "id" in vt_view_row to allow to have row id for delete or others operation --- calexium_lib | 2 +- src/generation/types.anubis | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calexium_lib b/calexium_lib index 3fbc7cc..46219dd 160000 --- a/calexium_lib +++ b/calexium_lib @@ -1 +1 @@ -Subproject commit 3fbc7cca5e2b7e98540338ec0d9a9dbfa5762288 +Subproject commit 46219dd336d63ea47857e197c7beb0a43ad5c4cb diff --git a/src/generation/types.anubis b/src/generation/types.anubis index 73143e1..782904c 100644 --- a/src/generation/types.anubis +++ b/src/generation/types.anubis @@ -415,13 +415,13 @@ public define Maybe(One) " if list is\n"+ " {\n"+ " [] then\n"+ - " with header = vt_view_row([\n"+ + " with header = vt_view_row_header([\n"+ // view row header make_list_view_header(current_list_view, " ")+"\n"+ " ]),\n"+ " vt_view(\""+table_name+"\", \""+view_name+"\", header, reverse(so_far)),\n"+ " [ h . t ] then\n"+ - " with entry = vt_view_row([\n"+ + " with entry = vt_view_row(to_Int(h.id), [\n"+ // view row make_list_view_row(table, "h", " ", list_view)+"\n"+ " ]),\n"+ -- libgit2 0.21.4