diff --git a/app/client/models/SearchModel.ts b/app/client/models/SearchModel.ts index 5c760839..be23d70b 100644 --- a/app/client/models/SearchModel.ts +++ b/app/client/models/SearchModel.ts @@ -266,7 +266,7 @@ class FinderImpl implements IFinder { const value = this._sectionTableData.getValue(rowId, displayCol.colId.peek()); // TODO: Note that formatting dates is now the bulk of the performance cost. - const text = formatter.format(value); + const text = formatter.formatAny(value); return this._searchRegexp.test(text); } diff --git a/app/server/lib/ActiveDoc.ts b/app/server/lib/ActiveDoc.ts index 605194b8..447f1d06 100644 --- a/app/server/lib/ActiveDoc.ts +++ b/app/server/lib/ActiveDoc.ts @@ -1371,12 +1371,12 @@ export class ActiveDoc extends EventEmitter { options: ApplyUAOptions = {}): Promise { const client = docSession.client; - this._log.debug(docSession, "_applyUserActions(%s, %s)", client, shortDesc(actions)); + this._log.debug(docSession, "_applyUserActions(%s, %s)%s", client, shortDesc(actions), + options.parseStrings ? ' (will parse)' : ''); this._inactivityTimer.ping(); // The doc is in active use; ping it to stay open longer. if (options.parseStrings) { actions = actions.map(ua => parseUserAction(ua, this.docData!)); - this._log.debug(docSession, "_applyUserActions(%s, %s) (after parsing)", client, shortDesc(actions)); } if (options?.bestEffort) {