Themes: Search the description too.

props dd32.
fixes #26309.
Built from https://develop.svn.wordpress.org/trunk@26480


git-svn-id: http://core.svn.wordpress.org/trunk@26377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2013-11-29 22:18:10 +00:00
parent 2b3e31d6de
commit 326bb3dfea
2 changed files with 2 additions and 2 deletions

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 );

File diff suppressed because one or more lines are too long