Project

General

Profile

« Previous | Next » 

Revision 3184

Added by Duane Costa over 17 years ago

Fix bug in the Advanced Search form reported by Dave Balsiger at NTL. The bug occured only in one of the following two special cases:

(a) The user modifies longitude but leaves latitude at default values;
(b) The user modifies latitude but leaves longitude at default values.

There was a conditional AND that should have been coded as a conditional OR. The buggy logic was:

"If the user changes both latitude AND longitude, then use the spatial form values in the advanced search, otherwise ignore the spatial form values."

the correct logic is:

"If the user changes either the latitude OR longitude, then use the spatial form values in the advanced search, otherwise ignore the spatial form values."

  • added
  • modified
  • copied
  • renamed
  • deleted