Skip to content

Commit

Permalink
Translation Sets: Define all_count and warnings_count as non-db field…
Browse files Browse the repository at this point in the history
… names (#997)
  • Loading branch information
ocean90 committed Mar 28, 2019
1 parent ad0112c commit db74c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gp-includes/things/translation-set.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down

0 comments on commit db74c83

Please sign in to comment.