From 765af15d7c84c31ffd82b7e273ef1aa274490f65 Mon Sep 17 00:00:00 2001
From: Leila Gonzales <lmg@agiweb.org>
Date: Mon, 18 Sep 2017 13:34:28 -0700
Subject: [PATCH] Fix bug in EW validation indexing routine (#1034)

---
 import/index_java/src/org/vufind/index/GeoTools.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/import/index_java/src/org/vufind/index/GeoTools.java b/import/index_java/src/org/vufind/index/GeoTools.java
index 65d5fe7e7dd..638c0267259 100644
--- a/import/index_java/src/org/vufind/index/GeoTools.java
+++ b/import/index_java/src/org/vufind/index/GeoTools.java
@@ -359,7 +359,7 @@ public class GeoTools
    public boolean validateEastWest(Record record, Double east, Double west) {
     if (east < west) {
        // Convert to 360 degree grid
-       if (east < 0) {
+       if (east <= 0) {
            east = 360 + east;
        }
        if (west < 0) {
-- 
GitLab