This repository was archived by the owner on Oct 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/modules/dosomething/dosomething_user Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -305,11 +305,11 @@ function dosomething_user_views_default_views() {
305305 $ handler ->display ->display_options ['fields ' ]['status ' ]['table ' ] = 'node ' ;
306306 $ handler ->display ->display_options ['fields ' ]['status ' ]['field ' ] = 'status ' ;
307307 $ handler ->display ->display_options ['fields ' ]['status ' ]['not ' ] = 0 ;
308- /* Field: Content: Language */
309- $ handler ->display ->display_options ['fields ' ]['language_1 ' ]['id ' ] = 'language_1 ' ;
310- $ handler ->display ->display_options ['fields ' ]['language_1 ' ]['table ' ] = 'node ' ;
311- $ handler ->display ->display_options ['fields ' ]['language_1 ' ]['field ' ] = 'language ' ;
312- $ handler ->display ->display_options ['fields ' ]['language_1 ' ]['label ' ] = 'Source Language ' ;
308+ /* Field: Entity translation: Source */
309+ $ handler ->display ->display_options ['fields ' ]['source ' ]['id ' ] = 'source ' ;
310+ $ handler ->display ->display_options ['fields ' ]['source ' ]['table ' ] = 'entity_translation ' ;
311+ $ handler ->display ->display_options ['fields ' ]['source ' ]['field ' ] = 'source ' ;
312+ $ handler ->display ->display_options ['fields ' ]['source ' ]['relationship ' ] = 'entity_translations ' ;
313313 /* Field: Entity translation: Language */
314314 $ handler ->display ->display_options ['fields ' ]['language ' ]['id ' ] = 'language ' ;
315315 $ handler ->display ->display_options ['fields ' ]['language ' ]['table ' ] = 'entity_translation ' ;
@@ -421,7 +421,7 @@ function dosomething_user_views_default_views() {
421421 t ('Translations ' ),
422422 t ('Nid ' ),
423423 t ('Translate link ' ),
424- t ('Source Language ' ),
424+ t ('Source ' ),
425425 t ('Translation ' ),
426426 );
427427 $ export ['content_search ' ] = $ view ;
You can’t perform that action at this time.
0 commit comments