iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
804 stars 51 forks source link

Filter table by non-int foreign key results in error 'Could not interpret XXX as an integer' #523

Closed danielbotella closed 8 months ago

danielbotella commented 8 months ago

When filtering a table on a foreign-key column in which the foreign key is not an integer, selecting a value from the choice dropdown results in an error: 'Could not interpret XXX as an integer'.

jlubcke commented 8 months ago

I see no obvious reason for why we should not just let the pk value through to django even if it is not an integer.

boxed commented 8 months ago

Agreed. I think we can just delete that code. I'm looking at it right now.

jlubcke commented 8 months ago

Pr: #524

jlubcke commented 8 months ago

Also: This looks like a duplicate: #493

boxed commented 8 months ago

This is fixed in 6.8.0.