You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consider refactoring to be a generic "find" function that can be used anywhere. A specialised "findPublishedLawyersPerCountry" can still be used but it will simply set the published = true criteria and pass into the generic function. This ensures we don't have to duplicate SQL in multiple areas if we want to include unpublished records in the resultset, e.g., dashboard list item management page.
The text was updated successfully, but these errors were encountered:
jenbutongit
changed the title
consider refactoring to be a generic "find" function that can be used anywhere. A specialised "findPublishedLawyersPerCountry" can still be used but it will simply set the published = true criteria and pass into the generic function. This ensures we don't have to duplicate SQL in multiple areas if we want to include unpublished records in the resultset, e.g., dashboard list item management page.
consider refactoring to be a generic "find" function that can be used anywhere
Mar 28, 2022
consider refactoring to be a generic "find" function that can be used anywhere. A specialised "findPublishedLawyersPerCountry" can still be used but it will simply set the published = true criteria and pass into the generic function. This ensures we don't have to duplicate SQL in multiple areas if we want to include unpublished records in the resultset, e.g., dashboard list item management page.
Originally posted by @alisalaman-cyb in #380 (comment)
The text was updated successfully, but these errors were encountered: