Support forums

Please check @brandnewbox_uk for support status updates.

Search     Advanced Search
Potential adjustments to Transcribe support  
Posted: 03 January 2019 02:38 PM —  
Newbie
Rank
Total Posts:  1
Joined  2019-01-02

Hey there, I’m building out a pretty heavy import job and ran across an issue with the current Transcribe support on line 479 of `datagrab_model.php` (Using EE 4):

diff --git a/system/user/addons/ajw_datagrab/models/datagrab_model.php b/system/user/addons/ajw_datagrab/models/datagrab_model.php
index ba706c6..11ef2ef 100644
--- a/system/user/addons/ajw_datagrab/models/datagrab_model.php
+++ b/system/user/addons/ajw_datagrab/models/datagrab_model.php
@@ -476,7 +476,7 @@ class Datagrab_model extends CI_Model {
 
      $this->db->select('t.relationship_id');
      $this->db->from('exp_transcribe_entries_languages t');
-     $this->db->join('exp_channel_data d','d.entry_id = t.entry_id');
+     $this->db->join('exp_channel_data_field_'.$field_id.' f','f.entry_id = t.entry_id');
      $this->db->where( "field_id_".$field_id, $datatype->get_item( $item, $rel_field_id ) );
      $this->db->where( "language_id !=", $transcribe__transcribe_language );
      $query = $this->db->get();

It seems to be working for me, but looking for any potential issues I may have missed from those more familiar with the codebase.

Profile
 

‹‹ Import into Bloqs fields

Select A Theme