use columns.table and test it since web interface uses it
[APKPM.git] / web_ui.pl
index 36d00de..19f435f 100755 (executable)
--- a/web_ui.pl
+++ b/web_ui.pl
@@ -96,7 +96,7 @@ get '/table/:table' => sub {
 
                # generate result as Store_sql does
 
-               my @c = split(/\s+/, $redis->get("pg.$table"));
+               my @c = split(/\s+/, $redis->get("columns.$table"));
                my ($hash_col) = grep { $c[$_] eq 'h' } 0 .. $#c;
 
                $ret = {