mitodl / mitxonline

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Fix Django Admin search for Products #2247

Closed collinpreston closed 3 months ago

collinpreston commented 3 months ago

What are the relevant tickets?

https://github.com/mitodl/mitxonline/issues/2201 https://github.com/mitodl/mitxonline/issues/1895

Description (What does it do?)

Fixes the Django Admin search for Products

How can this be tested?

  1. Have an instance of MITx Online with a Product created.
  2. Visit mitxonline.odl.local:8013/admin/ecommerce/product/
  3. Use the search bar to search for your Product. Verify that your Product is displayed if the search matches.
  4. Use the search bar to search for a non-existing Product (random string that doesn't match any Product string). Verify that your Product is not displayed.