torchbox / wagtailmedia

A Wagtail module for managing video and audio files within the admin
https://pypi.org/project/wagtailmedia/
BSD 3-Clause "New" or "Revised" License
224 stars 70 forks source link

Changed `SearchField` with `partial_match` to `AutocompleteField` #204

Closed jamesbiggs closed 1 year ago

jamesbiggs commented 1 year ago

This PR was made to satisfy this issue: https://github.com/torchbox/wagtailmedia/issues/203

Simple PR that changes the SearchFields that have partial_match=True to use AutocompleteField and remove partial_match, which is bringing in a RemovedInWagtail60Warning when upgrading to wagtail 5.0.

Note: This is my first pull request/edit on an open-source repo. Sorry if I've missed anything or done something wrong - I'm open to learning! 😄

jamesbiggs commented 1 year ago

Hey all, I've been using Wagtail for a few months now, and am fairly new to open-source code.

If I've missed any steps, or should/could do something differently - please let me know.

Hopefully these changes are okay!

zerolab commented 1 year ago

@jamesbiggs https://github.com/torchbox/wagtailmedia/releases/tag/v0.14.1