diff --git a/src/Components/ContainerItem/ContainerItem.js b/src/Components/ContainerItem/ContainerItem.js index a7da612..ab7e3a0 100644 --- a/src/Components/ContainerItem/ContainerItem.js +++ b/src/Components/ContainerItem/ContainerItem.js @@ -34,7 +34,7 @@ export default function ContainerItem({ }); const [filters, setFilters] = useState([{ key: '', - match: 'MatchCommonPrefix', + match: 'MatchStringEqual', value: '', }]); const [objects, setObjects] = useState(null); @@ -89,7 +89,6 @@ export default function ContainerItem({ const onGetObjects = (containerId, pageTemp = pagination.page) => { setPagination({ ...pagination, page: pageTemp}); setLoadingObjects(true); - api('POST', `/objects/${containerId}/search?limit=${ObjectsPerPage}&offset=${pageTemp * ObjectsPerPage}`, { filters: filters.every((item) => item.key !== '' && item.value !== '') ? filters : [], }, { @@ -347,7 +346,7 @@ export default function ContainerItem({ let filtersTemp = [ ...filters ]; filtersTemp.push({ key: '', - match: 'MatchCommonPrefix', + match: 'MatchStringEqual', value: '', }); setFilters(filtersTemp);