forms-angular 0.12.0-beta.301 → 0.12.0-beta.302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server/data_form.js
CHANGED
|
@@ -536,7 +536,7 @@ class FormsAngular {
|
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
resultObject.
|
|
539
|
+
resultObject.resourceCollection = item.resource.resourceName;
|
|
540
540
|
resultObject.searchImportance =
|
|
541
541
|
item.resource.options.searchImportance || 99;
|
|
542
542
|
if (item.resource.options.localisationData) {
|
|
@@ -550,7 +550,7 @@ class FormsAngular {
|
|
|
550
550
|
// Do we already have them in the list?
|
|
551
551
|
for (resultPos = results.length - 1; resultPos >= 0; resultPos--) {
|
|
552
552
|
// check for matching id and resource
|
|
553
|
-
if (results[resultPos].id.toString() === thisId && results[resultPos].
|
|
553
|
+
if (results[resultPos].id.toString() === thisId && results[resultPos].resourceCollection === item.resource.resourceName) {
|
|
554
554
|
break;
|
|
555
555
|
}
|
|
556
556
|
}
|
package/dist/server/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare module fngServer {
|
|
|
18
18
|
searchImportance? : number;
|
|
19
19
|
addHits?: number;
|
|
20
20
|
matched: number[];
|
|
21
|
-
|
|
21
|
+
resourceCollection: string;
|
|
22
22
|
// the next two are only set where the resource options includes disambiguation instructions and multiple search results with the same text value are found...:
|
|
23
23
|
disambiguationId?: any; // this will identify the record (from another resource) that will be used to disambiguate them
|
|
24
24
|
disambiguationResource?: string ;// ...and this will identify that resource
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mark Chapman <support@forms-angular.org>",
|
|
4
4
|
"description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
|
|
5
5
|
"homepage": "http://forms-angular.org",
|
|
6
|
-
"version": "0.12.0-beta.
|
|
6
|
+
"version": "0.12.0-beta.302",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=8.x",
|
|
9
9
|
"npm": ">=5.x"
|