View Source LightningWeb.RunLive.Index (Lightning v2.10.4)

Index Liveview for Runs

Summary

Functions

Takes a changeset used for querying workorders and checks to see if the given filter is present in that changeset. Returns true or false.

Creates a changeset based on given parameters and the fixed workorder filter types.

When a WorkOrderCreated event is detected, we first check to see if the new work order is admissible on the page, given the current filters. If it is, we add it to the top of the page. If not, nothing happens.

Callback implementation for Phoenix.LiveView.render/1.

Functions

Takes a changeset used for querying workorders and checks to see if the given filter is present in that changeset. Returns true or false.

Link to this function

filters_changeset(params)

View Source

Creates a changeset based on given parameters and the fixed workorder filter types.

Link to this function

handle_info(arg1, socket)

View Source

When a WorkOrderCreated event is detected, we first check to see if the new work order is admissible on the page, given the current filters. If it is, we add it to the top of the page. If not, nothing happens.

Callback implementation for Phoenix.LiveView.render/1.

Link to this function

validate_bulk_rerun(selected_work_orders, map)

View Source