DWSortBy
Sorting projects on the main Projects page in the Integration Theme, corporate example. This functionality is available in the DW18.1 and up in the getProjects call. If you are using version lower than that the below could help.
|
const sortby_MD = (field, reverse, primer) => { |
|
/**
(async function () { // After short delay, show loading state (skip loading state entirely if very quick loading)
const loadingTimeout = setTimeout(function(){
try {
clearTimeout(loadingTimeout);
// Logout if projects is undefined (due to no connection)
// Render
} catch (error) {
|
|
|
