projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ace35b
)
Fixed Resequence list to sort hit_count desc
author
Andrew DeFaria
<Andrew@DeFaria.com>
Sun, 18 Jul 2021 03:44:16 +0000
(20:44 -0700)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Sun, 18 Jul 2021 03:44:16 +0000
(20:44 -0700)
maps/lib/MAPS.pm
patch
|
blob
|
history
diff --git
a/maps/lib/MAPS.pm
b/maps/lib/MAPS.pm
index
705196e
..
8a764cf
100644
(file)
--- a/
maps/lib/MAPS.pm
+++ b/
maps/lib/MAPS.pm
@@
-1013,7
+1013,7
@@
sub ResequenceList(%) {
$db->lock('write', $table);
# Get all records for $userid and $type
- my $listrecs = $db->get($table, $condition);
+ my $listrecs = $db->get($table, $condition
,'*', 'order by hit_count desc'
);
# Delete all of the list entries for this $userid and $type
my ($count, $msg) = $db->delete($table, $condition);