< 062022-07-07⋎08 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
16:02paul121[m]farmOS dev call happening now!
16:03mstenta[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:51JustinCampbell[mMike I have a question about views and filtering.
17:51JustinCampbell[mIs there a way to filter parent assets by their children?
17:51JustinCampbell[mFor 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:52mstenta[m]Hi Justin Campbell - are "Operations" logs? Or assets?
17:52mstenta[m](Sounds like they should be logs? If they represent "events"...)
17:53mstenta[m]Logs have an Asset reference field by default, which allows you to see all logs associated with an asset
17:53mstenta[m]So you could see all Operation logs associated with a Project asset, perhaps
17:53mstenta[m]farmOS has Views built in for that
17:54mstenta[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:44JustinCampbell[mThanks Mike! Filter projects by operations is what I was asking about.
18:48mstenta[m]Ok I guess I don't understand what "operations" are in your data model then 😅
18:48mstenta[m]How are they related to projects? Where is the reference field? What do they represent exactly?

< 062022-07-07⋏08 >