Skip to content

Commit

Permalink
Merge pull request #404 from bozana/10350
Browse files Browse the repository at this point in the history
pkp/pkp-lib#10350 fix the check of the COUNTER R5 form field customer_id
  • Loading branch information
bozana authored Sep 6, 2024
2 parents d26353c + 02ad1c8 commit b4ccfa0
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 b4ccfa0

Please sign in to comment.