docs: library.{find_exact,search}() returns all tracks if no query

This commit is contained in:
Stein Magnus Jodal 2013-03-22 08:33:44 +01:00
parent 3a3a5219eb
commit eb459c81f0

View File

@ -20,6 +20,9 @@ class LibraryController(object):
"""
Search the library for tracks where ``field`` is ``values``.
If the query is empty, and the backend can support it, all available
tracks are returned.
Examples::
# Returns results matching 'a'
@ -80,6 +83,9 @@ class LibraryController(object):
"""
Search the library for tracks where ``field`` contains ``values``.
If the query is empty, and the backend can support it, all available
tracks are returned.
Examples::
# Returns results matching 'a'