Skip to content
Permalink
Browse files

Translation Sets: Define all_count and warnings_count as non-db field…

… names (#997)
  • Loading branch information...
ocean90 committed Mar 28, 2019
1 parent ad0112c commit db74c838a706df42ac35fad172033bb4f1c30286
Showing with 1 addition and 1 deletion.
  1. +1 −1 gp-includes/things/translation-set.php
@@ -16,7 +16,7 @@ class GP_Translation_Set extends GP_Thing {
var $table_basename = 'gp_translation_sets';
var $field_names = array( 'id', 'name', 'slug', 'project_id', 'locale' );
var $non_db_field_names = array( 'current_count', 'untranslated_count', 'waiting_count', 'fuzzy_count', 'percent_translated', 'wp_locale', 'last_modified' );
var $non_db_field_names = array( 'current_count', 'untranslated_count', 'waiting_count', 'fuzzy_count', 'all_count', 'warnings_count', 'percent_translated', 'wp_locale', 'last_modified' );
var $int_fields = array( 'id', 'project_id' );
var $non_updatable_attributes = array( 'id' );

0 comments on commit db74c83

Please sign in to comment.
You can’t perform that action at this time.