Commit 5bc9e731 by Jansa Jose

add location lat lng in venuedetails

parent b0f01f22
......@@ -312,7 +312,7 @@ class Organizer_model extends CI_Model {
$cond .= (!empty($data['venue_id']))?" AND VNE.id='".$data['venue_id']."' ":"";
$cond .= (!empty($data['organiser_id']))?" AND VNE.provider_id='".$data['organiser_id']."' ":"";
$sql = "SELECT VNE.id AS venue_id,VNE.layout AS venue_images,VNE.layout_details AS seat_block,VNE.region_id,VNE.location AS venue_location,HST.host_category
$sql = "SELECT VNE.id AS venue_id,VNE.layout AS venue_images,VNE.layout_details AS seat_block,VNE.region_id,VNE.location AS venue_location,HST.host_category,VNE.location_lat,VNE.location_lng
FROM venue AS VNE
INNER JOIN host_categories AS HST ON (HST.host_cat_id=VNE.host_cat_id)
WHERE $cond";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment