3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

71 commits

Author SHA1 Message Date
Michael Stenta c3a6c9c556 Change "Name/Search" column to "Log name" and add exposed "Log name" and "Log type" filters and sorts to log Views. 2017-12-27 17:34:43 -05:00
Michael Stenta 1af21d48b9 Use innerJoin()s where possible. 2017-12-07 17:38:52 -05:00
Michael Stenta 894d67aea7 Do not include movement logs that are marked as deleted in query. 2017-11-24 21:08:35 -05:00
Michael Stenta 6a0a5bc2ab Add bulk delete operation to asset, log, and area Views. 2017-11-24 21:07:47 -05:00
Michael Stenta dc8e0dd7c9 Return the logs created by helper functions (movements, group, inventory, weight). 2017-11-24 21:00:10 -05:00
Michael Stenta ef6a04614d Use is_numeric() instead of is_int() when checking log timestamps and entity IDs. 2017-11-24 20:59:17 -05:00
Michael Stenta 6eb6884345 Put inventory and group membership in the right column with location. 2017-11-24 20:58:33 -05:00
Michael Stenta cc717f2854 Abstract the Views relationship handler for linking assets to their movement logs so that it can be used for other purposes (like group membership). 2017-11-24 20:58:33 -05:00
Michael Stenta a9743fa150 Query to retrieve movement logs to an area should never use the $single parameter. 2017-11-24 20:57:47 -05:00
Michael Stenta c00305f71c Add a function for retrieving an area's movement history. 2017-11-24 20:57:47 -05:00
Michael Stenta ba58dc436a Add a function for getting an asset's next movement log. 2017-11-24 20:57:47 -05:00
Michael Stenta d27a9114c8 Make farm_log_query() range limit optional with a new $single parameter. 2017-11-24 20:57:47 -05:00
Michael Stenta 6d39abe4d9 Remove $log_id_field parameter from farm_log_query() to simplify. Add the field where needed. 2017-11-24 20:57:47 -05:00
Michael Stenta 9cc6d12162 Add farm_movement_area_movement_query() for building a query that finds movement logs to a specific area. 2017-11-24 20:57:47 -05:00
Michael Stenta a6da002c62 Add a group for "Logs with special purpose" and put movement and inventory logs in there via farm_ui. 2017-11-14 13:45:37 -05:00
Michael Stenta 67034ecba3 Change "Logs with [movements/inventory]" to "Logs of [movements/inventory]". 2017-11-14 13:45:20 -05:00
Michael Stenta c0cd29b5de Minor comment fixes. 2017-11-14 13:43:11 -05:00
Michael Stenta 89435b551f Generalize the query function for selecting logs that reference an asset, so farm_inventory can use it. 2017-11-14 13:43:11 -05:00
Michael Stenta 667d241f6e Minor comment fix. 2017-10-16 08:36:14 -04:00
Michael Stenta c727a583f5 Use #tree in Location fieldset form to simplify array keys. 2017-10-16 08:36:14 -04:00
Michael Stenta 7dc626a450 Issue #2915011: Move farm_log_movement to farm_movement 2017-10-10 18:07:50 -04:00