pacifica / pacifica-metadata

Pacifica core service that stores the metadata for the system
GNU Lesser General Public License v3.0
1 stars 8 forks source link

Filter out "soft" deleted entries? #273

Closed kauberry closed 4 years ago

kauberry commented 4 years ago

Pacifica Metadata version

0.12.3.1

Pacifica Core Software versions

1.0

Scenario:

I need to be able to retrieve entries from the rest API, but want to exclude anything that has been "soft deleted" (deleted column is not null). When pulling info for the EUS sync script, I would like to be able to just see things that aren't deleted.

Steps to Reproduce:

I can't see any way to filter out soft deleted records from the REST endpoint

dmlb2000 commented 4 years ago

I think this was the intent from the beginning for the deleted flag to be a filter of sorts. I'm thinking it should be fine to include this. The only tool that might be affected is the Metadata Management UI tool.