Skip to content

Commit

Permalink
Fixed issue where sandbox not initializing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomansley committed Nov 26, 2024
1 parent 714f465 commit 11ac09c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions force-app/main/default/classes/ListViewConfigHelper.cls
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @Description :
* @Author : [email protected]
* @Group :
* @Last Modified By :
* @Last Modified On : 09-15-2024
* @Last Modified By : [email protected]
* @Last Modified On : 11-26-2024
* @Modification Log :
* Ver Date Author Modification
* 1.0 6/11/2020 [email protected] Initial Version
Expand Down Expand Up @@ -470,7 +470,7 @@ global with sharing class ListViewConfigHelper {
throw new ListViewException('Found more than one list view config with name - ' + listViewName + ' and object - ' + objectName);
else if (configs.size() == 0) {
if (objectName == 'All' && listViewName == 'All')
throw new ListViewException('Global config not found. Go to the admin page and either import a config file or create a new config');
configs.add(ListViewHelper.insertCoreGlobalConfig());
else
return null;
//throw new ListViewException('No list view config was found with name - ' + listViewName + ' and object - ' + objectName);
Expand Down

0 comments on commit 11ac09c

Please sign in to comment.