Skip to content

Instantly share code, notes, and snippets.

@drzraf
Created April 30, 2019 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drzraf/efc324504dac13b7723b5322a2056669 to your computer and use it in GitHub Desktop.
Save drzraf/efc324504dac13b7723b5322a2056669 to your computer and use it in GitHub Desktop.
diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js
index 2ffa44b..7edfb19 100644
--- a/wp-includes/js/media-views.js
+++ b/wp-includes/js/media-views.js
@@ -949,7 +949,7 @@ function(module, exports) {
router: 'browse',
toolbar: 'select',
searchable: true,
- filterable: false,
+ filterable: 'uploaded',
sortable: true,
autoSelect: true,
describe: false,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment