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 Aug 29, 2024
1 parent d26353c commit 02ad1c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Form/counter/CounterReportForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export default {
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 02ad1c8

Please sign in to comment.