Skip to content

Commit

Permalink
fix sort order enum
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsi committed Mar 12, 2020
1 parent e841869 commit 05ec987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Search/OrderByCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class OrderByCollection implements IEnumerable<PropertyDefinitionSortDire
for (var keyValuePair of this.propDefSortOrderPairList) {
writer.WriteStartElement(XmlNamespace.Types, XmlElementNames.FieldOrder);

writer.WriteAttributeValue(XmlAttributeNames.Order, keyValuePair.value);
writer.WriteAttributeValue(XmlAttributeNames.Order, SortDirection[keyValuePair.value]);
keyValuePair.key.WriteToXml(writer);

writer.WriteEndElement(); // FieldOrder
Expand Down

0 comments on commit 05ec987

Please sign in to comment.