TAMULib / SAGE

Search Aggregation Engine
MIT License
6 stars 3 forks source link

Using the delete method, not deleteById, for ws broadcast #460

Closed jeremythuff closed 1 year ago

jeremythuff commented 1 year ago

Description

Each of the controllers were implementing their delete functionality using deleteById. This method does not result in a broadcast to the front end. By replacing each of those method calls with the delete method, the broadcast occurs and the lists in the UI are update on delete.

Fixes #457

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Checklist:

coveralls commented 1 year ago

Coverage Status

Coverage remained the same at 45.273% when pulling ec89ddf899e88669d9dca151ac4670aad9b27ac7 on 457-delete-list-update into acc65c21bf73fc20ac4ead5f8a701476160732f0 on techdebt-staging.