Skip to content

Commit

Permalink
user: add new fields
Browse files Browse the repository at this point in the history
* Replaces the phone field by 4 new home, buisness, mobile, other phone
  fields in the user data model.
* Adds country, gender fields in the user data model.
* Adds 3 invenio-userprofiles configuration to specify the list of
  countries, the default country and the read only fields.
* Makes the barcode repetitive.
* Removes all the user from the patron data model.
* Adds the secound address, the local code, the source fields in the
  patron data model.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
  • Loading branch information
jma committed Mar 1, 2021
1 parent 4e15fed commit 4b77046
Show file tree
Hide file tree
Showing 48 changed files with 589 additions and 436 deletions.
6 changes: 3 additions & 3 deletions data/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"patron_type": {
"$ref": "https://ils.rero.ch/api/patron_types/1"
},
"phone": "",
"home_phone": "",
"postal_code": "",
"roles": [
"patron"
Expand Down Expand Up @@ -861,7 +861,7 @@
"patron_type": {
"$ref": "https://ils.rero.ch/api/patron_types/4"
},
"phone": "",
"home_phone": "",
"postal_code": "",
"roles": [
"patron"
Expand Down Expand Up @@ -1440,7 +1440,7 @@
"patron_type": {
"$ref": "https://ils.rero.ch/api/patron_types/5"
},
"phone": "",
"home_phone": "",
"postal_code": "",
"roles": [
"patron"
Expand Down
Loading

0 comments on commit 4b77046

Please sign in to comment.