aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-07 15:47:05 +0100
committerJochen Topf <jochen@topf.org>2013-01-07 15:47:05 +0100
commita334668751ca122e0e34c77d297f60818e951df6 (patch)
tree608072104444ab955774f6eb7dc6ac4ac419c343 /README
parent6c3cf500cd115227148c8a8a8e8ce9c51ac337bc (diff)
downloadtaginfo-a334668751ca122e0e34c77d297f60818e951df6.tar
taginfo-a334668751ca122e0e34c77d297f60818e951df6.tar.gz
Empty table issue cleanup.
Sometimes there are not results for some query and you'll end up with an empty table. It would be nice if no empty table appears in this case but instead some nice message. But we can't simply remove the table, because if people use the search-inside-table function and that was the result of the empty table they loose the ability to change the search term. We could only draw the table in the first place if there will be something in it. But just finding out whether there will be something in the table can be quite expensive, for instance with searches for values. So we don't want to do this twice (once in the template to find out whether to draw the table in the first place and once in the API call filling the table.) So we are currently stuck with what we have until somebody invents a better way.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions