Active
Project:
Search.gov (machine name: USASearch)
Version:
7.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2016 at 17:48 UTC
Updated:
26 Jul 2017 at 12:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
schiavone commentedAgree the code can be better organized but I wouldn't call this a bug. Code organization is taking place during the port to Drupal 8. Co re-organization might be included in future releases of 7.x-5.x branch if they can be made without affecting the current installed base.
Comment #3
brockfanning commentedHere is an attempt at this, which is along similar lines as the D8 version, where there is an "i14y_enabled" variable. This also allows dev/staging sites to have
$conf['usasearch_i14y_enabled'] = FALSE;in the settings.php file to prevent accidental indexing of non-production content.Comment #4
brockfanning commentedTweak to have it default to enabled, so existing behavior won't change.
Comment #5
brockfanning commentedLooking back on this, my patch wasn't really doing what the original request described: moving the i14y configuration into the usasearch_api module (which I do agree is a good idea). I'll move my stuff into a separate ticket.