naggie / crates

2013: Crates, a media database with immutability, federation and filesystem mapping, playlists for DJing
MIT License
5 stars 2 forks source link

Search #19

Open naggie opened 9 years ago

naggie commented 9 years ago

We need search.

I think it should be a global thing, adjunct to the album /Album artist/ genre browser -- it should be able to return multiple classes of object intelligently -- Albums, tracks, genres, playlists.

naggie commented 9 years ago

Aside from UI stuff, the current querying system allows AND queries only.

I suspect allowing ?operator=OR with AND as default will do.

naggie commented 9 years ago

Implemented. Feels contrived but acceptable.


As an alternative -- specifying a query method in the view class might make more sense, as we're already specifying object reducers for the sake of custom APIs...