Skip to content

Commit

Permalink
Fix for missing SQL change (#2522)
Browse files Browse the repository at this point in the history
Fixes #2521 by rebuilding the PortalsDefaultLanguage view
  • Loading branch information
mitchelsellers authored Dec 31, 2018
1 parent 1813cbf commit 69997b5
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ AS
LEFT JOIN {databaseOwner}[{objectQualifier}Users] AS U ON P.AdministratorId = U.UserID
GO

IF OBJECT_ID(N'{databaseOwner}[{objectQualifier}vw_PortalsDefaultLanguage]', N'V') IS NOT NULL
DROP VIEW {databaseOwner}[{objectQualifier}vw_PortalsDefaultLanguage]
GO

CREATE VIEW {databaseOwner}[{objectQualifier}vw_PortalsDefaultLanguage]
AS
SELECT
*
FROM {databaseOwner}[{objectQualifier}vw_Portals]
WHERE CultureCode = DefaultLanguage
GO

/************************************************************/
/***** SqlDataProvider *****/
Expand Down

0 comments on commit 69997b5

Please sign in to comment.