Permalink
Browse files

tracks.fields

  • Loading branch information...
1 parent e746eaa commit afa49e1d5754a8576ef99092d5b6dcc05064fa03 @comotion committed Nov 19, 2012
Showing with 7 additions and 6 deletions.
  1. +4 −3 TODO
  2. +2 −2 web/hangover.lua
  3. +1 −1 web/lib/lamt
View
7 TODO
@@ -2,13 +2,14 @@
What to do and how:
+ file upload fucks up!:: b/c tracks_path doesnt exist
-+ empty searches?! ::
-+ getracks 01.fuck yuo
++ empty searches?! :: b/c lua evals 0 to true!
++ getracks 01.fuck you.
+ empty upload fucks up
+ get nonexistant track fucks up
wishlist:
- - edit page
+ - edit page :: WIP.. iterate over fields
+ - edit page adds tags
- error messages
- (add to .. ) playlist builder
- create program dialog (with sched picker)
View
@@ -61,10 +61,10 @@ function get_db(web,...)
if fields then
fields = u.split(fields)
+ print("splitting fields: "..u.dump(fields))
end
- print("splitting fields: "..u.dump(fields))
result = tracks.filter(result, fields, limit, skip)
- return json.encode({{fields=fields,pages=pages,result=result}}).."\n"
+ return json.encode({{fields=tracks.fields(result),pages=pages,result=result}}).."\n"
end
function getfile(file)
Submodule lamt updated from 1c6f6e to 6a2772

0 comments on commit afa49e1

Please sign in to comment.