Skip to content

Commit

Permalink
- Updated version + TSLint
Browse files Browse the repository at this point in the history
  • Loading branch information
FranckyC committed Mar 30, 2022
1 parent bb0103e commit b8de340
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion search-parts/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "PnP Modern Search - Search Web Parts - v4",
"id": "59903278-dd5d-4e9e-bef6-562aae716b8b",
"version": "4.5.4.0",
"version": "4.6.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false,
Expand Down
4 changes: 2 additions & 2 deletions search-parts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pnp/modern-search-web-parts",
"version": "4.5.4",
"version": "4.6.0",
"private": true,
"main": "lib/index.js",
"engines": {
Expand All @@ -25,7 +25,7 @@
"@microsoft/sp-property-pane": "1.12.1",
"@microsoft/sp-webpart-base": "1.12.1",
"@pnp/common": "2.0.13",
"@pnp/modern-search-extensibility": "1.0.9",
"@pnp/modern-search-extensibility": "1.1.0",
"@pnp/spfx-controls-react": "3.3.0",
"@pnp/spfx-property-controls": "3.2.0",
"@pnp/telemetry-js": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion search-parts/src/components/SortComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class SortComponent extends React.Component<ISortComponentProps, ISortCom
return {
key: field.sortField,
text: field.sortFieldDisplayName ? field.sortFieldDisplayName : field.sortField
}
};
});

return defaultOptions.concat(options);
Expand Down
4 changes: 2 additions & 2 deletions search-parts/src/dataSources/SharePointSearchDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ export class SharePointSearchDataSource extends BaseDataSource<ISharePointSearch
}

return sortConfiguration;
})
});
} else {
this.properties.sortList = [];
}
Expand Down Expand Up @@ -1163,7 +1163,7 @@ export class SharePointSearchDataSource extends BaseDataSource<ISharePointSearch
const termPrefix = matches[2]; // 'L0'
if (termPrefix.localeCompare("L0") === 0) {
const termFilterWithoutTranslations = `"ǂǂ${StringHelper._bytesToHex(StringHelper._stringToUTF8Bytes(`GP0|#${termId.toString()}`))}"`;
const termTextFilter = `string("L0|#${termId.toString()}")`
const termTextFilter = `string("L0|#${termId.toString()}")`;

// value.value: HEX encoded value => original refiner value
// termFilterWithoutTranslations => language agnostic term value
Expand Down

0 comments on commit b8de340

Please sign in to comment.