psf / python-in-edu

website for educational python resources
http://education.python.org/
MIT License
41 stars 28 forks source link

Fix resource list view - Open Pull Request #18

Closed shaunagm closed 3 years ago

shaunagm commented 3 years ago

I was checking in on the site to see how it was doing, and noticed that the resource list is displaying weirdly (the full features of the data table are lost). I did a bit of digging, and I think it may be due to this update where resource.use_type was added as a data-child in the header but not in the data for each row (see this function called here). Here's the [relevant docs](https://datatables.net/reference/api/row().child()).

sijanonly commented 3 years ago

@shaunagm I am working on it.