Skip to content

Commit

Permalink
fix: columns have different names (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Oct 26, 2022
1 parent 75dc390 commit cee42d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/RedirectUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class RedirectUrl extends DataObject implements PermissionProvider
*/
private static $table_name = 'RedirectUrl';

private static $singular_name = 'Redirect';

/**
* @var array
*/
Expand All @@ -54,8 +56,8 @@ class RedirectUrl extends DataObject implements PermissionProvider
private static $summary_fields = [
'Created' => 'Created',
'LastEdited.Nice' => 'Last Edited',
'FromLink' => 'From Link',
'ToLink' => 'To Link',
'FromLink' => 'From',
'ToLink' => 'To',
'Type' => 'Type'
];

Expand Down

0 comments on commit cee42d2

Please sign in to comment.