Skip to content

Commit

Permalink
tracks.fields
Browse files Browse the repository at this point in the history
  • Loading branch information
comotion committed Nov 19, 2012
1 parent e746eaa commit afa49e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions TODO
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions web/hangover.lua
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion web/lib/lamt
Submodule lamt updated from 1c6f6e to 6a2772

0 comments on commit afa49e1

Please sign in to comment.