SciCatProject / backend-v3

SciCat Data Catalogue Backend
https://scicatproject.github.io/documentation/
BSD 3-Clause "New" or "Revised" License
13 stars 17 forks source link

Add check on filter if empty #708

Closed minottic closed 1 year ago

minottic commented 1 year ago

Description

Fix when filter is undefined and creating the copy fails

Motivation

When the published data filter is empty, the JSON methods fail as they are not applicable on undefined objects

Fixes:

Tests included/Docs Updated?