Jonathon Posted April 22, 2014 Share Posted April 22, 2014 Hi Larry When working with data that has foreign keys. For instance, maybe you have an item table and your location_id field is a fk so an integer and that relates to a location table where that integer has an actual value like London. What would be the best way to get human readable data returned through search? Thanks Jonathon Link to comment Share on other sites More sharing options...
Jonathon Posted April 23, 2014 Author Share Posted April 23, 2014 I think I figured it out, just use AR and in the $params['body'] assign the correct value not the FK to the arrary. Link to comment Share on other sites More sharing options...
Larry Posted April 24, 2014 Share Posted April 24, 2014 Yeah, that sounds right to me. Kudos for figuring it out and thanks for sharing. Keep the questions and learning coming! 1 Link to comment Share on other sites More sharing options...
Recommended Posts