Merge branch 'develop' of git://github.com/shish/shimmie2

This commit is contained in:
jgen
2014-02-23 03:11:09 -05:00
57 changed files with 744 additions and 1224 deletions

View File

@@ -45,7 +45,7 @@ class Artists extends Extension {
public function onSearchTermParse(SearchTermParseEvent $event) {
$matches = array();
if(preg_match("/^author[=|:](.*)$/", $event->term, $matches)) {
if(preg_match("/^author[=|:](.*)$/i", $event->term, $matches)) {
$char = $matches[1];
$event->add_querylet(new Querylet("Author = :author_char", array("author_char"=>$char)));
}