| 01:57 | * | JustTB has quit (Quit: Leaving.) |
| 07:44 | skipper_is[m] | Is there an easy way of dumping all the records/assets to a file? Aside from exporting the database, and saving the pages as a CSV, which doesn't seem to get the notes |
| 07:53 | skipper_is[m] | I guess easiest would probably be use FarmOS.py to iterate through all the logs.. |
| 08:10 | * | JustTB has joined |
| 08:46 | * | JustTB has quit (Quit: Leaving.) |
| 09:18 | * | JustTB has joined |
| 11:42 | mstenta[m] | <skipper_is[m] "I guess easiest would probably b"> Yea that's probably your best bet |
| 11:42 | mstenta[m] | Or even easier |
| 11:42 | mstenta[m] | Just go to /log.json or /farm_asset.json |
| 11:43 | mstenta[m] | Those are the API endpoints that farmOS.py uses |
| 11:43 | mstenta[m] | They have all logs and assets in JSON format |
| 11:44 | mstenta[m] | Another option is to build your own custom View by cloning the asset/log listing pages that farmOS comes with and modifying them |
| 11:44 | mstenta[m] | That would allow you to build a custom CSV exporter |
| 11:45 | mstenta[m] | But if you're already comfortable with farmOS.py that might be easier for you |
| 11:45 | mstenta[m] | Views in Drupal are super powerful but have a learning curve |
| 22:39 | * | FijiDave_ has joined |
| 22:41 | * | FijiDave has quit (Ping timeout: 276 seconds) |
| 22:45 | * | JustTB has quit (Read error: Connection reset by peer) |
| 22:45 | * | JustTB has joined |