fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

Exposure is not a database column #282

Open oscgonfer opened 11 months ago

oscgonfer commented 11 months ago

2) Devices can't be searched by 'exposure', which mystified me until i realised that 'exposure' isn't actually a database column, it's a field in a json metadata blob, which ransack can't search. We could move this out to its own column to make it searchable, but i think, again, it'd be worth doing that after the refactor!

Originally posted by @timcowlishaw in https://github.com/fablabbcn/smartcitizen-api/issues/257#issuecomment-1772215928

oscgonfer commented 5 months ago

Conflicting: https://github.com/fablabbcn/smartcitizen-api/issues/12

oscgonfer commented 5 months ago

Action (TBC by @pral2a because we don't understand why it's in system_tags):