diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-06-21 15:51:35 -0400 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-06-21 21:11:30 +0000 |
commit | 192ba64c5350ad371c6fe9bef4672cb0eff4f050 (patch) | |
tree | 0d8d8cf57088ca127ad9ded07849d194375b65b3 /test/lua/nstime.lua | |
parent | 7e124c9d8c8cb12e4fa4fd0f38ffbe376e168111 (diff) | |
download | wireshark-192ba64c5350ad371c6fe9bef4672cb0eff4f050.tar.gz |
Qt: fix sorting of custom columns with multiple fields
Fields like "dns.time || http.time || smb.time" were sorted by column
number before. Recognize when all fields are numeric values and then try
to sort by number and otherwise fallback to a value comparison.
In theory sorting should now also be a bit faster for custom columns
because the columnn type is looked up once.
Change-Id: Id40d7cce8080d05823d74459fc493ec6ebf80956
Reported-by: Laura Chappell
Reviewed-on: https://code.wireshark.org/review/22317
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
(cherry picked from commit 16f70b9bb1faf48d985e21fcfa92d1934c2b50f5)
Reviewed-on: https://code.wireshark.org/review/22326
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'test/lua/nstime.lua')
0 files changed, 0 insertions, 0 deletions