| 16:02 | paul121[m] | farmOS dev call happening now! |
| 16:03 | mstenta[m] | I'll be back next week! |
| 17:49 | * | JustinCampbell[m has joined |
| 17:51 | * | uploaded an image: (229KiB) < libera.ems.host/_matrix/media/r0/downloa > |
| 17:51 | JustinCampbell[m | Mike I have a question about views and filtering. |
| 17:51 | JustinCampbell[m | Is there a way to filter parent assets by their children? |
| 17:51 | JustinCampbell[m | For example projects is a parent that contains operations as children. What would be the best approach to filter projects by operations? Trying to get a feel for what is possible and how challenging something like this would be to implement. |
| 17:52 | mstenta[m] | Hi Justin Campbell - are "Operations" logs? Or assets? |
| 17:52 | mstenta[m] | (Sounds like they should be logs? If they represent "events"...) |
| 17:53 | mstenta[m] | Logs have an Asset reference field by default, which allows you to see all logs associated with an asset |
| 17:53 | mstenta[m] | So you could see all Operation logs associated with a Project asset, perhaps |
| 17:53 | mstenta[m] | farmOS has Views built in for that |
| 17:54 | mstenta[m] | Although I'm not sure if that's what you're asking... do you want to "filter projects by their operations"? Or "filter operations by the project they are associated with"? |
| 18:44 | JustinCampbell[m | Thanks Mike! Filter projects by operations is what I was asking about. |
| 18:48 | mstenta[m] | Ok I guess I don't understand what "operations" are in your data model then 😅 |
| 18:48 | mstenta[m] | How are they related to projects? Where is the reference field? What do they represent exactly? |