Commit 4f77191
LocalIdentity
Fix search for item code
The trade site uses floats for the weights internally when sorting but only shows integers to the site and api
Need to use +-1 so that it doesn't accidently miss an item
e.g. before a weight of 100.3 would show as 100 in the api callback and then we'd search for 99.9 - 100.1 so the search would never show the item1 parent 41b1324 commit 4f77191
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1182 | 1182 | | |
1183 | | - | |
1184 | | - | |
| 1183 | + | |
1185 | 1184 | | |
1186 | 1185 | | |
1187 | 1186 | | |
| |||
0 commit comments