Skip to content

Commit

Permalink
pkp/pkp-lib#10350 fix the check of the COUNTER R5 form field customer_id
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Oct 8, 2024
1 parent e5f3c04 commit fe374b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ListPanel/counter/CounterReportsEditModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ function getReportParams(formSubmitValues) {
for (const [key, value] of Object.entries(formSubmitValues)) {
switch (key) {
case 'customer_id':
if (parseInt(value, 10) >= 0) {
params[key] = value;
}
break;
case 'begin_date':
case 'end_date':
case 'yop':
Expand Down

0 comments on commit fe374b5

Please sign in to comment.