PLD: change search-term to query
PLD: abstract search function, simplify query, only search title, match query anywhere in title