Skip to content

Commit

Permalink
UIDATIMP-1665: Exclude bulk edit job execution entries from data impo…
Browse files Browse the repository at this point in the history
…rt log (#1636)

* UIDATIMP-1598: Remove MARC Bib option when Action = Create and update translation for 'Create' option

* UIDATIMP-1665: Exclude bulk edit job execution entries from data import log

* Update constants.js
  • Loading branch information
OleksandrHladchenko1 authored Oct 22, 2024
1 parent a526ae4 commit e268476
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Update 'Instance relationship' accordion name - Data Import Mapping (UIDATIMP-1670)
* BE permission refactoring. (UIDATIMP-1667)
* *BREAKING* Bump `stripes` to `v9.2.0` for Ramsons release. (UIDATIMP-1669)
* Exclude bulk edit job execution entries from data import log. (UIDATIMP-1665)

### Bugs fixed:
* Remove `selected` column from associated profiles list. (UIDATIMP-1607)
Expand Down
2 changes: 2 additions & 0 deletions src/components/DataFetcher/DataFetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
OCLC_UPDATE_INSTANCE_JOB_ID,
createUrlFromArray,
NO_FILE_NAME,
BULK_EDIT_JOB_PROFILE_NAME,
} from '../../utils';

import { DataFetcherContext } from '.';
Expand Down Expand Up @@ -49,6 +50,7 @@ const logsUrlParams = [
`statusAny=${CANCELLED}`,
`profileIdNotAny=${OCLC_CREATE_INSTANCE_JOB_ID}`,
`profileIdNotAny=${OCLC_UPDATE_INSTANCE_JOB_ID}`,
`excludeJobProfileName=${BULK_EDIT_JOB_PROFILE_NAME}`,
`fileNameNotAny=${NO_FILE_NAME}`,
'limit=25',
'sortBy=completed_date,desc',
Expand Down
1 change: 1 addition & 0 deletions src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const PREVIOUS_LOCATIONS_KEY = '@folio/data-import/prev-locations';
export const FIND_ALL_CQL = 'cql.allRecords=1';

export const NO_FILE_NAME = 'No file name';
export const BULK_EDIT_JOB_PROFILE_NAME = 'Bulk operations data import job profile-*';

export const AVAILABLE_PLACEMENTS = [
'bottom',
Expand Down

0 comments on commit e268476

Please sign in to comment.