Skip to content

Commit

Permalink
Updated the request to update the search results for batch requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Sep 30, 2024
1 parent 37366fb commit 54685a9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/gd-sprest.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gd-sprest",
"version": "8.2.4",
"version": "8.2.5",
"description": "An easy way to develop against the SharePoint REST API.",
"author": "Gunjan Datta <[email protected]> (https://gunjandatta.github.io)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { IREST } from "../@types";
* SharePoint REST Library
*/
export const $REST: IREST = {
__ver: 8.24,
__ver: 8.25,
AppContext: (siteUrl: string) => { return Lib.Site.getAppContext(siteUrl); },
Apps: Lib.Apps,
ContextInfo: Lib.ContextInfo,
Expand Down
3 changes: 3 additions & 0 deletions src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,9 @@ export const Request = {

// Update the expanded properties
Helper.updateExpandedProperties(obj);

// Update the search results
Helper.updateSearchResults(obj);
} else {
// Update the object
obj = { ...obj, ...objData };
Expand Down

0 comments on commit 54685a9

Please sign in to comment.