Themes: Search the description too.

props dd32.
fixes #26309.

git-svn-id: https://develop.svn.wordpress.org/trunk@26480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2013-11-29 22:17:28 +00:00
parent efc2c12458
commit 2d74676237

View File

@ -133,7 +133,7 @@ themes.Collection = Backbone.Collection.extend({
// Find results
// _.filter and .test
results = self.filter( function( data ) {
haystack = _.union( data.get( 'name' ), data.get( 'author' ), data.get( 'tags' ) );
haystack = _.union( data.get( 'name' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
if ( match.test( data.get( 'author' ) ) ) {
data.set( 'displayAuthor', true );