fixing illegal offset issue with the obits list view
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 May 2017 19:55:46 +0000 (15:55 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 May 2017 19:55:46 +0000 (15:55 -0400)
issue seems to be with the javascript dynamic search, it was searching for a field that was
non existent. removint this field should resolve the 502

views/admin/obits/list.html

index 0d644c2..7c0af80 100644 (file)
 
              var availableTags = [
                 {foreach $namesList as $e}
-                    { label: "{$e|replace:'"':"'"}", value: "{$e|replace:'"':"'"}", id: '{$e.id}' },
+                    { label: "{$e|replace:'"':"'"}", value: "{$e|replace:'"':"'"}" },
                 {/foreach}
                      ];