Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,7 @@ Metadata
others).
- Renames person module into contribution module.
- Sorts the contribution roles in the document editor (with
``selectWithSort`` form option).
``select`` form option).
- Updates the conversion of documents with contribution references from
IdRef.
- Corrects MARC to JSON conversion for subjects.
Expand Down
1 change: 1 addition & 0 deletions rero_ils/jsonschemas/common/cantons-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"hide": "field?.parent?.model?.country !== 'sz'"
},
"props": {
"sort": true,
"itemCssClass": "col-lg-4",
"options": [
{
Expand Down
4 changes: 3 additions & 1 deletion rero_ils/jsonschemas/common/countries-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@
"widget": {
"formlyConfig": {
"props": {
"sort": true,
"filter": true,
"itemCssClass": "col-lg-4",
"options": [
{
Expand Down Expand Up @@ -1887,4 +1889,4 @@
}
}
}
}
}
7 changes: 5 additions & 2 deletions rero_ils/jsonschemas/common/currency-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
"pattern": "^[A-Z]{3}$",
"widget": {
"formlyConfig": {
"type": "selectWithSort"
"type": "select",
"props": {
"sort": true
}
}
}
}
}
}
3 changes: 2 additions & 1 deletion rero_ils/jsonschemas/common/languages-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"itemCssClass": "col-lg-6",
"options": [
{
Expand Down
5 changes: 3 additions & 2 deletions rero_ils/jsonschemas/common/ui-languages-v0.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"itemCssClass": "col-lg-2",
"options": [
{
Expand All @@ -35,4 +36,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,9 @@
"default": "in progress",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"selectWithSortOptions": {
"order": "label"
},
"sort": true,
"options": [
{
"value": "in_progress",
Expand Down Expand Up @@ -206,11 +204,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"selectWithSortOptions": {
"order": "label"
},
"sort": true,
"options": [
{
"value": "shipping_and_handling",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@
"default": "staff_note",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "vendor_note",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@
"default": "monograph",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"value": "monograph",
Expand Down Expand Up @@ -112,8 +113,9 @@
"default": "staff_note",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "vendor_note",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@
"default": "staff_note",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "staff_note",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@
"default": "staff_note",
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "staff_note",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,12 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"wrappers": [
"form-field"
],
"props": {
"selectWithSortOptions": {
"order": "label"
},
"sort": true,
"options": [
{
"label": "course",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"itemCssClass": "col-lg-6",
"sort": true,
"options": [
{
"label": "Full level",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"selectWithSortOptions": {
"order": "label"
},
"sort": true,
"cssClass": "w-md-50",
"options": [
{
Expand All @@ -41,4 +39,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1002",
Expand Down Expand Up @@ -168,8 +169,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1021",
Expand Down Expand Up @@ -267,8 +269,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1011",
Expand Down Expand Up @@ -355,8 +358,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1030",
Expand Down Expand Up @@ -423,8 +427,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1032",
Expand Down Expand Up @@ -516,8 +521,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1042",
Expand Down Expand Up @@ -585,8 +591,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1045",
Expand Down Expand Up @@ -668,8 +675,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdact:1051",
Expand Down Expand Up @@ -739,8 +747,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "unspecified",
Expand Down Expand Up @@ -803,8 +812,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "rdaco:1002",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"widget": {
"formlyConfig": {
"type": "entityTypeahead",
"wrappers": [
"form-field-horizontal"
],
"props": {
"filters": {
"options": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"options": [
{
"label": "bf:Person",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@
},
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"filter": true,
"sort": true,
"itemCssClass": "col-lg-6",
"options": [
{
Expand Down Expand Up @@ -771,4 +773,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"itemCssClass": "col-lg-6",
"options": [
{
Expand Down Expand Up @@ -117,8 +118,10 @@
],
"widget": {
"formlyConfig": {
"type": "selectWithSort",
"type": "select",
"props": {
"sort": true,
"filter": true,
"itemCssClass": "col-lg-6",
"options": [
{
Expand Down Expand Up @@ -280,4 +283,4 @@
}
}
}
}
}
Loading
Loading