mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Themes: Search the theme's slug too.
props matveb. see #26730 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@26921 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
586b882437
commit
5447a6ab72
@ -146,7 +146,7 @@ themes.Collection = Backbone.Collection.extend({
|
||||
// Find results
|
||||
// _.filter and .test
|
||||
results = this.filter( function( data ) {
|
||||
haystack = _.union( data.get( 'name' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
|
||||
haystack = _.union( data.get( 'name' ), data.get( 'id' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
|
||||
|
||||
if ( match.test( data.get( 'author' ) ) && term.length > 2 ) {
|
||||
data.set( 'displayAuthor', true );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user