Fixed long standing bug about displaying proper message
authorAndrew DeFaria <Andrew@DeFaria.com>
Wed, 12 May 2021 14:49:31 +0000 (07:49 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Wed, 12 May 2021 14:49:31 +0000 (07:49 -0700)
commit7ad5fd1a2d54b940018de904485ce560562af176
tree1e6fd0755ecbd02875b6e75af91f03c721c0b36e
parent710dceea2f43455f4f4a3b20ea74f1c0b131211a
Fixed long standing bug about displaying proper message

If there were more than one message sent by the sender then attempting
to display the individual message would not work. This was because we
were going by msg_nbr but the msg_nbr did not really relate to the
message shown on the detail.cti web page. Here we change the alogrithm
to use the message date instead as it uniquely identifies the message.

Note that there still may be times when one sender/msg_date relates to
more than one message (think two messages with the exact same
timestamp). I'm not sure if this is possible nor if it's really that
important.
maps/bin/detail.cgi
maps/bin/display.cgi
maps/lib/MAPS.pm