Changeset 3007573
- Timestamp:
- 12/09/2023 09:00:50 AM (2 years ago)
- Location:
- import-kintone
- Files:
-
- 6 edited
- 1 copied
-
tags/1.13.1 (copied) (copied from import-kintone/trunk)
-
tags/1.13.1/admin/class-admin.php (modified) (2 diffs)
-
tags/1.13.1/publish-kintone-data.php (modified) (1 diff)
-
tags/1.13.1/readme.txt (modified) (2 diffs)
-
trunk/admin/class-admin.php (modified) (2 diffs)
-
trunk/publish-kintone-data.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
import-kintone/tags/1.13.1/admin/class-admin.php
r2972625 r3007573 277 277 278 278 $kintone_data['records'] = array(); 279 280 $offset = 0; 279 $last_id = 0; 281 280 $reacquisition_flag = true; 282 281 283 282 while ( $reacquisition_flag ) { 284 283 285 $query = apply_filters( 'import_kintone_change_bulk_update_query', ' order by $id asc limit 500 offset ' . $offset);284 $query = apply_filters( 'import_kintone_change_bulk_update_query', '$id > ' . $last_id . ' order by $id asc limit 500'); 286 285 287 286 $url = 'https://' . get_option( 'kintone_to_wp_kintone_url' ) . '/k/v1/records.json?app=' . get_option( 'kintone_to_wp_target_appid' ) . '&query=' . $query; … … 290 289 $kintone_data['records'] = array_merge( $kintone_data['records'], $retun_data['records'] ); 291 290 292 if ( count( $ kintone_data['records'] ) < 500 ) {291 if ( count( $retun_data['records'] ) < 500 ) { 293 292 $reacquisition_flag = false; 294 293 } else { 295 $ offset = $offset + 500;294 $last_id = end($retun_data['records'])['$id']['value']; 296 295 } 297 296 } -
import-kintone/tags/1.13.1/publish-kintone-data.php
r2972625 r3007573 4 4 * Plugin URI: 5 5 * Description: The data of kintone can be reflected on WordPress. 6 * Version: 1.13. 06 * Version: 1.13.1 7 7 * Author: Takashi Hosoya 8 8 * Author URI: http://ht79.info/ -
import-kintone/tags/1.13.1/readme.txt
r2972625 r3007573 3 3 Tags: cybozu, kintone, crm, database, custom field 4 4 Requires at least: 4.9 5 Tested up to: 6. 1.16 Stable tag: 1.13. 05 Tested up to: 6.4.2 6 Stable tag: 1.13.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 61 61 == Changelog == 62 63 = 1.13.1 (2023-12-09) = 64 * [Fixed] Fixed bulk update issue. 62 65 63 66 = 1.13.0 (2023-09-28) = -
import-kintone/trunk/admin/class-admin.php
r2972625 r3007573 277 277 278 278 $kintone_data['records'] = array(); 279 280 $offset = 0; 279 $last_id = 0; 281 280 $reacquisition_flag = true; 282 281 283 282 while ( $reacquisition_flag ) { 284 283 285 $query = apply_filters( 'import_kintone_change_bulk_update_query', ' order by $id asc limit 500 offset ' . $offset);284 $query = apply_filters( 'import_kintone_change_bulk_update_query', '$id > ' . $last_id . ' order by $id asc limit 500'); 286 285 287 286 $url = 'https://' . get_option( 'kintone_to_wp_kintone_url' ) . '/k/v1/records.json?app=' . get_option( 'kintone_to_wp_target_appid' ) . '&query=' . $query; … … 290 289 $kintone_data['records'] = array_merge( $kintone_data['records'], $retun_data['records'] ); 291 290 292 if ( count( $ kintone_data['records'] ) < 500 ) {291 if ( count( $retun_data['records'] ) < 500 ) { 293 292 $reacquisition_flag = false; 294 293 } else { 295 $ offset = $offset + 500;294 $last_id = end($retun_data['records'])['$id']['value']; 296 295 } 297 296 } -
import-kintone/trunk/publish-kintone-data.php
r2972625 r3007573 4 4 * Plugin URI: 5 5 * Description: The data of kintone can be reflected on WordPress. 6 * Version: 1.13. 06 * Version: 1.13.1 7 7 * Author: Takashi Hosoya 8 8 * Author URI: http://ht79.info/ -
import-kintone/trunk/readme.txt
r2972625 r3007573 3 3 Tags: cybozu, kintone, crm, database, custom field 4 4 Requires at least: 4.9 5 Tested up to: 6. 1.16 Stable tag: 1.13. 05 Tested up to: 6.4.2 6 Stable tag: 1.13.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 61 61 == Changelog == 62 63 = 1.13.1 (2023-12-09) = 64 * [Fixed] Fixed bulk update issue. 62 65 63 66 = 1.13.0 (2023-09-28) =
Note: See TracChangeset
for help on using the changeset viewer.