h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
70 stars 75 forks source link

exercise filtering #90

Open svenzimmermann opened 5 years ago

svenzimmermann commented 5 years ago

The possibilities of search or filtering in the wordpress backend are unfortunately limited. On my site i have more than 400 exercises by about 40 authors and it is very difficult to select the right exercises.

Proposals:

  1. Improvement of the filter function, so that also authors etc. can be searched/filtered.
  2. Hide exercises of other authors as default user settings.

I would be very happy about optimizations in this.

Best regards Sven

otacke commented 5 years ago

@icc Using https://github.com/h5p/h5p-php-library/pull/65 and https://github.com/h5p/h5p-wordpress-plugin/pull/98 will allow to close this issue.

arsaccol commented 5 years ago

Can't wait to have these PRs accepted into the main repo! I merged them both into a local clone of @otacke's master branch and manually installed a zip file of the repo as a plugin in Wordpress, but now Wordpress nags me about upgrading to a "latest" version which is behind my own as far as I understand it... anyway, I'm so glad this functionality already exists so I don't have to implement it myself! lol

otacke commented 5 years ago

@lalilulelost I'd have to check, but a) think I didn't rebase my master branch to the latest version of the official branch and b) my pull requests are set up to require the next minor version of the plugin. That's most likely the problem that you're facing now - nothing that shouldn't be fixable.

arsaccol commented 5 years ago

To be honest, to me it's not even a problem, as the PRs did manage to solve my problem (get users to see only their own content). For now I'll just ignore the Wordpress "nag", and manually update once these PRs get merged into the main repo, though.

otacke commented 5 years ago

@lalilulelost Just make sure that all the update stuff for settings and the database have run in https://github.com/h5p/h5p-wordpress-plugin/blob/master/public/class-h5p-plugin.php for the version that's on your system.