thinca
c394d51581
Use the correct operator for 'before date' rules
2013-05-30 13:04:27 -04:00
Paul Arthur
2eb41bb99a
Cosmetic clean up of search.class.php
2013-01-28 13:26:11 -05:00
Paul Arthur
ef4d366060
Cosmetics: death to tabs
...
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05:00
Paul Arthur
984c738187
Mess around with rating search
...
Simplify the rating search and drop the ugly subquery; make it a
straight query against the current user's ratings.
2013-01-23 13:06:35 -05:00
Paul Arthur
8c4921f5f3
Consistently use 'object_type' in playlist returns
2012-10-15 13:20:27 -04:00
Paul Arthur
866e7f4a1c
Add Search->get_random_items
2012-10-01 12:44:36 -04:00
Paul Arthur
0086e772db
FS#260 - Multiple rules result in "Not Enough Data"
...
This should be a more complete fix, and possibly a somewhat more
efficient approach.
2012-09-19 17:05:07 -04:00
Paul Arthur
256a312af3
FS#260 - Multiple rules result in "Not Enough Data"
...
This quick fix probably won't interact properly with smart playlists,
and it doesn't seem like a very efficient approach. But it's less
broken.
2012-09-17 10:43:39 -04:00
Paul Arthur
f65076b93d
Switch from _() to T_()
...
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
2012-04-12 21:13:29 -04:00
Paul Arthur
f2e3668528
Fix regex for parsing rules
...
ID can be multiple digits, so we should capture all of them.
2012-03-19 12:21:22 -04:00
Paul Arthur
ca3fe67e49
FS#201 - Video files broken in search
...
Video searching was trying to use explode instead of implode. That
won't work.
2011-11-28 13:35:24 -05:00
Paul Arthur
1e05bfe554
Fix broken API method
...
Api::search_songs needed to declare a type, and Search::run needed to
honour that declaration.
2011-06-28 14:30:52 -04:00
Paul Arthur
a9da6a6fa2
Reworked search
...
Still has tentacles and should have been integrated into the existing
API/Browse implementation better, but it's functional.
2011-04-02 00:48:58 -04:00