To see the standard CF error messages, try adding the following path to your custom tag paths: C:\Program Files\New Atlanta\exception

Error - struct
detailAn exception occurred in an Application.cfc event handler: Function: isRegion
errorcode[empty string]
extendedinfo[empty string]
messageEvent Handler Exception
nameFunction: isRegion
rootcause
struct
column2
detailFunction: isRegion
errorcodeerrorCode.runtimeError
extendedinfoArgument name: id, Formal type: numeric, Actual type: string
line27
messageThe argument ID passed to function isRegion() is not of type numeric
tagcontext
array
1
struct
column1
idCFSET
line20
templateC:/inetpub/wwwroot/clients/scidev/public/dispatchProxy.cfm
2
struct
column121
idCFFUNCTION
line19
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
3
struct
column3
idCFSET
line96
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
4
struct
column136
idCFFUNCTION
line100
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
5
struct
column3
idCFTRY
line192
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
6
struct
column4
idCFIF
line199
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
7
struct
column5
idCFINVOKE
line200
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
8
struct
column2
idCFFUNCTION
line81
templateC:/inetpub/wwwroot/clients/scidev/app/controllers/feed.cfc
9
struct
column3
idCFRETURN
line147
templateC:/inetpub/wwwroot/clients/scidev/app/controllers/feed.cfc
10
struct
column2
idCFFUNCTION
line197
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
11
struct
column3
idCFIF
line251
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
12
struct
column4
idCFSET
line253
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
13
struct
column2
idCFFUNCTION
line27
templateC:/inetpub/wwwroot/clients/scidev/app/models/section/sectionDB.cfc
tagnameCFFUNCTION
templateC:/inetpub/wwwroot/clients/scidev/app/models/section/sectionDB.cfc
typeApplication
tagcontext
array [empty]
typeApplication
request - struct
exception
struct
detailAn exception occurred in an Application.cfc event handler: Function: isRegion
errorcode[empty string]
extendedinfo[empty string]
messageEvent Handler Exception
nameFunction: isRegion
rootcause
struct
column2
detailFunction: isRegion
errorcodeerrorCode.runtimeError
extendedinfoArgument name: id, Formal type: numeric, Actual type: string
line27
messageThe argument ID passed to function isRegion() is not of type numeric
tagcontext
array
1
struct
column1
idCFSET
line20
templateC:/inetpub/wwwroot/clients/scidev/public/dispatchProxy.cfm
2
struct
column121
idCFFUNCTION
line19
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
3
struct
column3
idCFSET
line96
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
4
struct
column136
idCFFUNCTION
line100
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
5
struct
column3
idCFTRY
line192
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
6
struct
column4
idCFIF
line199
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
7
struct
column5
idCFINVOKE
line200
templateC:/inetpub/wwwroot/clients/scidev/framework/dispatch.cfc
8
struct
column2
idCFFUNCTION
line81
templateC:/inetpub/wwwroot/clients/scidev/app/controllers/feed.cfc
9
struct
column3
idCFRETURN
line147
templateC:/inetpub/wwwroot/clients/scidev/app/controllers/feed.cfc
10
struct
column2
idCFFUNCTION
line197
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
11
struct
column3
idCFIF
line251
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
12
struct
column4
idCFSET
line253
templateC:/inetpub/wwwroot/clients/scidev/app/models/feed/feedManager.cfc
13
struct
column2
idCFFUNCTION
line27
templateC:/inetpub/wwwroot/clients/scidev/app/models/section/sectionDB.cfc
tagnameCFFUNCTION
templateC:/inetpub/wwwroot/clients/scidev/app/models/section/sectionDB.cfc
typeApplication
tagcontext
array [empty]
typeApplication
params
struct
LANGfr
METHODdispatch
SECTIONes
SUBSECTIONwater
TYPE[empty string]
actionrss
apicallNO
cf_request//feed/rss/
controllerfeed
id0
langID4
session
struct
createdat{ts '2012-02-14 14:52:08'}
createdby0
displayname[empty string]
id65AA1701734DDA3FB4BFF59EE8464ED8
isadminfalse
isauthdfalse
isstickyfalse
langfr
languageid4
updatedat{ts '2012-02-14 14:52:08'}
updatedby0
userid0
starttickcount20052485
user
component scidev.app.models.user.UserVO [short version]
createdAt{ts '2012-02-14 14:52:08'}
createdBy0
updatedAt{ts '2012-02-14 14:52:08'}
updatedBy0
id0
languageID1
countryID0
countryname[empty string]
workplaceID0
professionID0
howheardID0
howheardEmail[empty string]
titleID0
regionID0
topicID0
emailAlerts[empty string]
firstname[empty string]
lastname[empty string]
contactname[empty string]
gender0
name[empty string]
email[empty string]
emailconfirm[empty string]
pass[empty string]
passconfirm[empty string]
hasHtmlEmail0
hasAlerts0
address1[empty string]
address2[empty string]
address3[empty string]
postcode[empty string]
phone[empty string]
phone2[empty string]
position[empty string]
isDeleted0
hasThirdPartyContact0
csid0
organisation[empty string]
canContact0
showOrganisation0
displayname[empty string]
viewrss
application - struct
applicationnamescidev
bArticleCacheLockedfalse
cache_article_search
struct
0034CC7420BE88C28D0BA4027EC9D513
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:125 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
007909B25E20EFE88C0E979BFAAEDD5E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:15 ms
Records:1
Columns:count
009275A04056C2D0E5AD49F7B6DBA54B
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
014EFD22DDCE94DC6257888598F05D97
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
01AC9F86667C160DA7CDB5F98ED29639
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
026711B00872AD01CCCABB98696068C1
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
02CDB1BCFF1E7A79BA0A31A45B0D3660
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0311032FF3C4281A3763D482C09545E6
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:46 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
03A6C3DC0265A972B63C07802D7EA2ED
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
04E9758B5AAC66E996AA130B05FFE421
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join letters l on l.article_id = a.id left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:31 ms
Records:1
Columns:count
0556E32ADB92E5B6FC611CBE7D6F5A94
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:110 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
05890A16D4FCB6EA1BD90392C9958E5C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:32 ms
Records:1
Columns:count
0681C849A757737ABC108EF1C0265E82
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by atr.title asc limit ?, ?
Time:63 ms
Records:4
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_deleted, publish_at, expire_at, updated_at, updated_by, is_paid
firstname, lastname, email, original_language_id, status_name, section_slug
sub_section_slug, canonical_link
06D0D6B8FBBC6A51AEC7043DD055BBD4
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
07C2F36757B45E3325A26D772B651C56
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
07FDD1D5FE87EE456B845EA57AA73EC2
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
08118D1EA63BB757327A93D5F672A061
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:125 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0824A3F9F687584759AAFAE18C1CDD6F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
085099842C5573FF1F3AF0B8076F504F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join book_reviews br on br.article_id = a.id left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:15 ms
Records:1
Columns:count
08F64B22D01D1990302FCC6ECC093712
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0951B92CB8F25109F00826B8CDACF9B5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0BF0B31251C52ECDBF0026A65150F12A
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0C02872D2FB78C03691F37B551FDA1DB
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0CA3A3DFC3B7CEDB37DB8AF065C4F033
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:0 ms
Records:1
Columns:count
0CA871D4EF30CBEC3D9980058A6AF9C5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:5
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0D0C798AF716181226F525E2D3EDCE16
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
0D41D57AFB3A23C84C0D1906C30E3C77
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:7
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0DC1043821849279468AED582B9D0961
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:5
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0DCCD3341D33909DC55B9D3FA0C50FC5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by atr.title asc limit ?, ?
Time:0 ms
Records:11
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
0DF629369357917B97C4CB4415A8B4E1
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:6
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0F2D8893D035669466B099A50A6B18F6
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid , n.start_at, n.end_at, n.close_at, nt.information_url, n.contact_details, nt.location, nt.organisation_name, nt.organisation_url ,acl.parent_section_slug AS section_slug ,acl.section_slug AS sub_section_slug ,acl.canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 LEFT JOIN article_canonical_link acl on a.id = acl.article_id AND atr.language_id = acl.language_id inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id left outer join notices n on n.article_id = a.id left outer join notice_translations nt on nt.article_id = n.article_id and nt.language_id = ? inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by n.close_at asc limit ?, ?
Time:16 ms
Records:2
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
en_slug, en_transtypeid, fr_slug, fr_transtypeid, zh_slug, zh_transtypeid
es_slug, es_transtypeid, po_slug, po_transtypeid, ar_slug, ar_transtypeid
start_at, end_at, close_at, information_url, contact_details, location
organisation_name, organisation_url, section_slug, sub_section_slug, canonical_link
0F72E03A801E6AE18EB808EA54C023A9
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:8
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0F825D61D5F3676490B9095E1AA40E73
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:78 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
0FA86ADF421F4B7AA9E97CB55666BCC6
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1019292E52409277F1FCE8A76B5FD615
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
10DA99D525B2C958F7E060CADB2C4E3F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1134FD33B7CB5C04FD416AD6AE1ECA30
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:4
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1172233A15407EBB64B369FC7D690059
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
12BFB9AF8AFD0EDF32181FD54C175EE0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
139321A56F63F6818B5A5FC8C4AF81FA
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
13CBD34E548D5595C6FBF8A9D9F20BC6
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:10
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1484C12F0B60FB39041CC02372845FD1
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:46 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
161D2773636C7CE427D3A8BD282F092C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
16F0545086083858D2A131BFAED2935B
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
182B2C415B47FE4B00BB0902E662099A
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:79 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
18A5A07E96D1F757D2CA0BB16562DAC0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:63 ms
Records:1
Columns:count
18E85AB1BD618380984CEF5C804C8AEA
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:78 ms
Records:12
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
194AD8496BBE46173588D92867BD2C6C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
197228617DED4ACA1F076515C0558B5E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1A04ACE178173C243263EE9B78DDD547
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
1A4FFFD8FBB371ADE77BE508931E86B0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:6
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1AA7F78FEBF4AC110DFAA867EE0C0C21
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1AF72F143B02057A21869D90D16A884A
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id left outer join notices n on n.article_id = a.id left outer join notice_translations nt on nt.article_id = n.article_id and nt.language_id = ? inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:31 ms
Records:1
Columns:count
1BFD8B3EF59E7B9B0AAE8581A21DEC84
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1C2D53CB77231D436C75F383C1ECC037
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1C3262EE8FC893009A3B73BE3319CE24
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:2
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1D286240C97FD97BA49396424882E2F0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:78 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1D2BC2C9DC2719FCE3E1207F95AF9D18
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1D8A7BDC73D1396F5345B7A7C682B6B7
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:0 ms
Records:1
Columns:count
1D970D322D8B046EA6EF8159B0B94131
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
1DFFAB8C4005E0B801A597DD9355C2E3
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
1E6DC78944293FA9E17260CE6978A469
query [short version]
Query Source:Query of Queries
Records:19
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, close_at, location, organisation_name, organisation_url
author, start_at, end_at, section_slug, sub_section_slug, canonical_link
21316A8E58A4162758458C4CD4A38B8B
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
21AB37560EEF0B0FFA442400A894112A
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
21ECCDAC202C83AFE5C62C5AEB229111
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:94 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
21FA6F51B7724DBD06DA48EF7049A39E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
226AC336A58A956E1E0F0DFDEF892AD8
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2345F0B606B6E62E4865C3026043BD2E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:16 ms
Records:1
Columns:count
23BCC01FFBA148AE6E6AE41FAF51A89C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:547 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
23FA25F28B957B860700EDF1A21CEFB3
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
241E36717974022C174EA5B8F9A5FC05
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
241EAADD950421B67DDADE9824E59370
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id left outer join notices n on n.article_id = a.id left outer join notice_translations nt on nt.article_id = n.article_id and nt.language_id = ? inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:31 ms
Records:1
Columns:count
243CDBFBDC55652B081FCE3CFBA2658E
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
265EEB14B5DE334CEE3AFEF1AF15998F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:10
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
273C3F2D4B4C3CC82421E334CA6B72A3
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:4
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
27E111E75F9EA57339DF0160C5CBA7D3
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
27E86B8A0365E200A6D73ECCFA64370E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join sections_articles sla on sla.article_id = a.id and sla.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and sla.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:16 ms
Records:1
Columns:count
282CF63D4814824D46728D956ABB462C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
28622DCA19D527F5F2B067D337522BE5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:94 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
28DEEC08B32B3B0A7BB4D83C5AC6A3CB
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
290160F8708A4953095E304CE8AEF298
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
293694E45E637837285BAE0A52C3E51B
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2A16BC711384279766935DC042CF58FD
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2A2CF2B99804E5993C160BE714735908
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:4
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2B006D2C669728C3026202F381F023CE
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
2BD1CFF8CAC108C9AF38901D0A1E3E56
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2C49F4A93AEBF1AC6F08C86E524208E1
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2CCD65061E7B138DF675F2011F2F3C51
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2CCF76CDC54B2196D588464396613CD5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:78 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2D423AF58F5B5ACB4E63381E20389A35
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:13
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2DFB10B372D8E79CF7CA10C91536AA0C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:109 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2DFDB413F50AAB5F072A219058BC2EEB
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid , n.start_at, n.end_at, n.close_at, nt.information_url, n.contact_details, nt.location, nt.organisation_name, nt.organisation_url ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id left outer join notices n on n.article_id = a.id left outer join notice_translations nt on nt.article_id = n.article_id and nt.language_id = ? inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
2E3235083B3670CB0DCDBAD3B141631F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:265 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2E6356D32C0C289A9457870F08E25E06
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:32 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2E8663FAFA99773E186551B7B115E1FC
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?,?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:297 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2F28284FE50AF7E91323DBD5744BE39F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:0 ms
Records:1
Columns:count
2F68E7A35557D02F4044E55CED83BD2E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
2FF9E3FAD7D1B8FA78BE1D466E3D32D0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3031C54FE821D220C577C526B792F1E0
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
31F34BBA3D47479C20812BD71837C6C3
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:1
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
329CCA0DD7F1EE5A22593A267390CBBD
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by atr.title asc limit ?, ?
Time:78 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
3368FECC163564889B01A09178D55189
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:3
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
352DF2A1213F67D28689413D7DEE02C8
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid , n.start_at, n.end_at, n.close_at, nt.information_url, n.contact_details, nt.location, nt.organisation_name, nt.organisation_url ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id left outer join notices n on n.article_id = a.id left outer join notice_translations nt on nt.article_id = n.article_id and nt.language_id = ? inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:3
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
36BD30AF0B2228D4C6BE4B0EF2D308E5
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
36F9B856CB6867FDF0B769741D72D4A9
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
36FD772FD3FB4441CB6669B78173FCF8
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:2
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
37B1F45CC4B65E960724C982C1A9D687
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
37D69E6D3D230DDC56804DEBC75E1A88
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:532 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
38837A691E21E9A8DFC119F07F3181F5
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:94 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
389977D486B93846DBAAC757DB0411D1
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,acl.parent_section_slug AS section_slug ,acl.section_slug AS sub_section_slug ,acl.canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 LEFT JOIN article_canonical_link acl on a.id = acl.article_id AND atr.language_id = acl.language_id inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:8
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
39B53AC40B65C4602E5F23599EBF080C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
39CBE8799BD7B186F9F67B80A3AE697A
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:62 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3B8212B3643AD635BA2E7F8461B6D6E8
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:63 ms
Records:11
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3BAE6A6EFBBB373A9DD2BA4BBAAC5044
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:15 ms
Records:13
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3BF3190DC6FA39867D6D43F85C5DFF84
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3BF8565B79ACFF797EEDEEE758AFBD64
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join letters l on l.article_id = a.id left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:32 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
3C22957581EEA2D7D4F70879320AF915
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:0 ms
Records:1
Columns:count
3CAD20233EF5819D7452D8DB6DC7AAD3
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
3D79B28855C601AA52C3EFD1775BCB67
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , a.is_deleted, a.publish_at, a.expire_at, a.updated_at, a.updated_by, a.is_paid, u.firstname, u.lastname, u.email , (select language_id from article_translations atr_temp where atr_temp.article_id = a.id and is_original = 1 limit 1) as original_language_id , ast.name as status_name ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by slug asc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, is_deleted, publish_at, expire_at
updated_at, updated_by, is_paid, firstname, lastname, email
original_language_id, status_name, section_slug, sub_section_slug, canonical_link
3DAA96A4F399E1E05312118FE8730828
query [short version]
Query Source:Query of Queries
Records:20
Columns:id, slug, type, type_slug, title, blurb, publish_at
ar_slug, ar_transtypeid, es_slug, en_slug, en_transtypeid, es_slug
es_transtypeid, fr_slug, fr_transtypeid, po_slug, po_transtypeid, zh_slug
zh_transtypeid, source, author, section_slug, sub_section_slug, canonical_link
40E1297548F6A8D2AC5617A420736A30
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:0 ms
Records:3
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
4157D816BBBBA042C02A1C167FDFE1B4
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
41C29B66ED0AB2A94A2844AEBD24F824
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:0
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
42EF3467DE91B3771CE9101D92884DD9
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:16 ms
Records:5
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
4416F8C19202D49BAB15203700DF23E3
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select count(distinct a.id) as count from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join letters l on l.article_id = a.id left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc
Time:16 ms
Records:1
Columns:count
4437AFBEBB6742E5C8A4484ECAEBC168
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct distinct left(trim(atr.title),1) as letter ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by atr.title asc limit ?, ?
Time:93 ms
Records:20
Columns:letter, section_slug, sub_section_slug, canonical_link
4455367F4EDE513D096F81A69B6D4BDD
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
447BC5C3A6A331F0F2EED32A5594B91E
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:31 ms
Records:13
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
4628EBB5A715115F340D86EA261FC01C
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:32 ms
Records:10
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
4635AA4989BF27010C149927F7D2A58F
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ? and a.type_id IN (?) and a.type_id NOT IN (?) and sa.section_id = ? and a.is_deleted = ? and ( a.expire_at > now() or a.expire_at is null or a.expire_at = '0000-00-00 00:00:00' ) and a.publish_at <= now() order by a.publish_at desc limit ?, ?
Time:47 ms
Records:20
Columns:id, status_id, type_id, canonical_section_id, created_at, publish_at, created_by
author, source, editor_notes, citations, affiliation, type
type_slug, language_id, translation_status_id, translation_type_id, title, slug
blurb, body, keydocument_url, keydocument_type, publication_date, link_url
is_highlighted, display_order, section_id, en_slug, en_transtypeid, fr_slug
fr_transtypeid, zh_slug, zh_transtypeid, es_slug, es_transtypeid, po_slug
po_transtypeid, ar_slug, ar_transtypeid, section_slug, sub_section_slug, canonical_link
463A5DCBE75DE4A8815DE0E3AD2AD899
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query:select distinct a.id, a.status_id, a.type_id, a.canonical_section_id, a.created_at, a.publish_at, a.created_by, a.author, a.source, a.editor_notes, a.citations, a.affiliation, at.name as type, at.slug as type_slug, atr.language_id, atr.status_id as translation_status_id, atr.translation_type_id, atr.title, atr.slug, atr.blurb, atr.body, case when ifnull(af.file_name,'') <> '' then af.file_name when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then kd.document_url else '' end as keydocument_url, case when ifnull(af.file_name,'') <> '' then 'file' when (ifnull(kd.document_url,'') <> '' and kd.document_url <> 'http://') then 'url' else '' end as keydocument_type, kd.publication_date, ifnull(ali.link_url,'') as link_url , sa.is_highlighted, sa.display_order, sa.section_id , ats.en_slug, ats.en_transtypeid, ats.fr_slug, ats.fr_transtypeid, ats.zh_slug, ats.zh_transtypeid, ats.es_slug, ats.es_transtypeid, ats.po_slug, ats.po_transtypeid, ats.ar_slug, ats.ar_transtypeid ,'' AS section_slug ,'' AS sub_section_slug ,'' AS canonical_link from articles a inner join article_translations atr on atr.article_id = a.id and atr.language_id = ? and atr.status_id = 2 inner join article_types at on a.type_id = at.id inner join article_statuses ast on ast.id = a.status_id inner join users u on u.id = a.created_by left outer join sections_articles sa on sa.article_id = a.id and sa.section_id = ? left outer join article_links ali on ali.article_id = a.id left outer join article_files af on af.article_id = a.id left outer join key_documents kd on kd.article_id = a.id inner join article_translation_slugs ats on ats.article_id = a.id where 1=1 and a.status_id = ?