Commit 7934e7942e6b86bf13f0cf5dbf0580ad1b6d557d

Authored by totoro
1 parent 2e17aca7

Use vt_view_row_header now for viewable table and add "id" in vt_view_row to all…

…ow to have row id for delete or others operation
Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
calexium_lib @ 46219dd336d
1   -Subproject commit 3fbc7cca5e2b7e98540338ec0d9a9dbfa5762288
  1 +Subproject commit 46219dd336d63ea47857e197c7beb0a43ad5c4cb
... ...
src/generation/types.anubis
... ... @@ -415,13 +415,13 @@ public define Maybe(One)
415 415 " if list is\n"+
416 416 " {\n"+
417 417 " [] then\n"+
418   - " with header = vt_view_row([\n"+
  418 + " with header = vt_view_row_header([\n"+
419 419 // view row header
420 420 make_list_view_header(current_list_view, " ")+"\n"+
421 421 " ]),\n"+
422 422 " vt_view(\""+table_name+"\", \""+view_name+"\", header, reverse(so_far)),\n"+
423 423 " [ h . t ] then\n"+
424   - " with entry = vt_view_row([\n"+
  424 + " with entry = vt_view_row(to_Int(h.id), [\n"+
425 425 // view row
426 426 make_list_view_row(table, "h", " ", list_view)+"\n"+
427 427 " ]),\n"+
... ...