radiocosmology/padloper

Querying property types should take in a component type to determine if the component type is compatible with the property type.

Opened this issue · 0 comments

When you query the database for property types, you should also pass in a component type to ensure that you do not consider property types such that the component type is not an allowed type for said property types. This must be done in the Python API (change the PropertyType query to take in an optional parameter of a component type), and in the web interface (PropertyType autocomplete in the component page should pass in the component's type).