Skip to content
Snippets Groups Projects
Commit b1cf8ce8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '221-min-288-requests-for-publications-loading-are-doubled' into 'development'

Resolve "[MIN-288] Requests for publications loading are doubled"

Closes #221

See merge request !195
parents 177ce095 bf9f8bfd
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!195Resolve "[MIN-288] Requests for publications loading are doubled"
Pipeline #90033 passed
...@@ -42,7 +42,7 @@ export const PublicationsSearch = (): JSX.Element => { ...@@ -42,7 +42,7 @@ export const PublicationsSearch = (): JSX.Element => {
modelId: selectedId, modelId: selectedId,
}), }),
); );
}, [debouncedValue, dispatch, selectedId, sortColumn, sortOrder]); }, [debouncedValue, dispatch]);
useEffect(() => { useEffect(() => {
dispatch(setPublicationSearchValue(debouncedValue)); dispatch(setPublicationSearchValue(debouncedValue));
......
...@@ -53,7 +53,7 @@ const columns = [ ...@@ -53,7 +53,7 @@ const columns = [
}), }),
columnHelper.accessor(row => row.authors, { columnHelper.accessor(row => row.authors, {
id: 'authors', id: 'authors',
header: () => <SortByHeader columnName="authors">Authors</SortByHeader>, header: () => 'Authors',
size: 200, size: 200,
}), }),
columnHelper.accessor(row => row.journal, { columnHelper.accessor(row => row.journal, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment