Commit 2e9d422
committed
Update SearchElement and ContentSearchElement ToStringStyles
This commit is kept separate to show changes, but I intend for it to be
squashed into the first commit of the PR before merging.
This removes the special String handling I had previously added which
wraps them in quotes. During a sidebar discussion I discovered that,
1. These objects are not searchable in the Events GUI.
2. These objects are stored as a property of the alert in the database
as the toString value, rather than in serialized object form.
In light of that, if anyone is either exporting these to another system
or using the Client API to search the event details, I think it would be
easier to do a text search without the quotes, and this also matches how
the values were previously stored so that the searches don't need to be
written with optional quotes to catch events before and after this
patch.
Signed-off-by: Tony Germano <tony@germano.name>1 parent 4939c56 commit 2e9d422
File tree
2 files changed
+3
-12
lines changed- server/src/com/mirth/connect/model
2 files changed
+3
-12
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
23 | 15 | | |
24 | 16 | | |
25 | 17 | | |
| |||
0 commit comments