danielroy96 / ussu-pims

Redevelopment of USSU PIMS in Spring
1 stars 0 forks source link

Removing item from a job deletes it rather than maintaining the row #8

Open danielroy96 opened 6 years ago

danielroy96 commented 6 years ago

When you remove an item from a job, it should mark the status as "REMOVED" and be superficially hidden, rather than deleting the row.

danielroy96 commented 6 years ago

This needs a bit of thought. If an item is removed then re-added, the add web service will need to check to see if the item has been previously removed before adding it, or updating it if it has been previously removed.

Need to think about how to make the item appear last in the list when re-added as the sort is on job item id at the moment.

danielroy96 commented 6 years ago

We have an added date time, maybe this can be resolved by adding an index on the added date time column and sorting by that in getJobItems