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
LANGen
METHODdispatch
SECTIONes
SUBSECTIONfarming-practices
TYPE[empty string]
actionrss
apicallNO
cf_request//feed/rss/
controllerfeed
id0
langID1
session
struct
createdat{ts '2012-02-14 13:36:22'}
createdby0
displayname[empty string]
id45AA1701734DDA3F5C174D4A17DC64C0
isadminfalse
isauthdfalse
isstickyfalse
langen
languageid1
updatedat{ts '2012-02-14 13:36:22'}
updatedby0
userid0
starttickcount15506000
user
component scidev.app.models.user.UserVO [short version]
createdAt{ts '2012-02-14 13:36:22'}
createdBy0
updatedAt{ts '2012-02-14 13:36:22'}
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
02AB3B806E86994F58E08ED36BA30CD0
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
02B0C2F55E13666ADF76C4DBE9629EF7
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:31 ms
Records:1
Columns:count
0700AFEFF6B5AADDDDA5341446E09A36
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: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
0798D4800854063CC39D4FC0F655B17D
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 lower(atr.title) like ? 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
08443325D083189B9CE5985DF4A018FD
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
0860EF4EB8BB54AF9C1E7C66C076E340
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: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
08B67ED072E0D7F0396BB1A5CDFCAB1D
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
098A606634DC91A5154E245520FD1D14
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
0BA1A93581EE9BA96ADCB143DF09AEB4
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
0CAEB17B1462CB49DEAD4BB53182BD48
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 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 lower(atr.title) like ? 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:0 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
0D47D55BBE6D8BCC97D8EE8594FA7343
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:9
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
0E108B7AD65E0E8AFAE5D90916DEF597
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 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
Time:16 ms
Records:1
Columns:count
104B5A463586A7F440AD65695E5CD898
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
11575650AA60E71F146F37FD9D691F61
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: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
12A8819249ECD21D777B7ABB432FE8CE
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
130DB2155E840DD4469D7C11C4569C81
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: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
13133C099A6E6F913BD10B718B0BADF3
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:485 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
142E3207A9609F6E07D918284E7DC2CC
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
1513D03086520D3B19B375B3079AF782
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 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
Time:16 ms
Records:1
Columns:count
15E281DAB82207628E1C5B7D49C46BE2
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
1860E7832E54DED9AC1AA140E64F2AAB
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:1125 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
18A00C537FE079F0A647F2735E0BDC5E
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
18A4F579EFF03F58C4D545C54A34C560
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: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
18FA554A608C46468813AB6ADA0916CA
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: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
1A1B814852204D4D54278F00F6866AAE
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
1B3C052D19974B4E345BA0F3634DAD26
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 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 lower(atr.title) like ? 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:47 ms
Records:1
Columns:count
1B4A81C8048D87A18AE912914D60B8A7
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: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
1CC47B1AB38BBB9064B1621373753A3F
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: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
1D0D6659C2126CCF523E2E5F4234A560
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
1DAB2B4D9CA98992D3AB224365B5DBF1
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:18
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
1F1E3EEBD119241F1A7EFD93AAD8562D
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 lower(atr.title) like ? 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
209397B2F74FFEFFF4FE220404240481
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
224893324AF8C67CF0086F5361F5AEF5
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
236E1DCB73F0D53366D76A9AF32C1C37
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
245CFCAD97DCA55F9E6A1EBF54818132
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
24D759B5947E117EC5770232EEB1C030
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:15 ms
Records:1
Columns:count
27BB5EB5D2187D7796C93BB70A4302A1
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
29FC947009C2AEA1547F1794420EF8E6
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
2C01F88BB4B360634A6F684FFD8162F8
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:31 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
2D2A9C693B3F70868CE9D7EBE54ED8C9
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:46 ms
Records:1
Columns:count
3011677644767C40D97593B0B31881CD
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 lower(atr.title) like ? 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
307E47CEDFAF60099281C73045926E0D
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:422 ms
Records:1
Columns:count
307F8276714623A625829B69F6101FAB
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
31994F2187E007909C646BC2BB3D560E
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: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
32750D833B779547A0BC5307C17D9F9F
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:47 ms
Records:1
Columns:count
3333FC47517EFBEC3E7F3B20581A5438
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 lower(atr.title) like ? 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
340C74B7334AF06BC277B61837514E8B
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 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
Time:0 ms
Records:1
Columns:count
346FF962989F5E3EE92FF38A622CC365
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 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 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:172 ms
Records:1
Columns:count
34BD85D41031044F5578C74CB06AB248
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:1141 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
34FF26BEFBA4F845FD2E877BEBEEF3A0
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
34FFB493AA0CD4BA6D300EF47E8EA738
query [short version]
Query Source:Query of Queries
Records:0
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
350FEB4AB6207CF8C131845C28375B8A
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
37665FD0A33329A2BB07262C2FF3071A
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:813 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
387A0CED98EDD458476B8BD68C4F9ACB
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 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 lower(atr.title) like ? 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:15 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, 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
3882462D3C85990E0A6EFD981D730A33
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: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, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, 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:79 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
3A1D2C56B4A2BE1B2615919953892F0E
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
3A1F0849254C5D9B02EA82CC9F2C6179
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 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 a.publish_at desc
Time:47 ms
Records:1
Columns:count
3C1C1A8200E74D9FFCAAC0CA6C4B9511
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 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 lower(atr.title) like ? 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:15 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, 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
3C3ED8A788A7AD76EF169FB8626411CD
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: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
3D3EEA27EC85148E93077BBAFFE2B5D9
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
3DC4D762B543BFECB09912F7F28DB4E9
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:984 ms
Records:1
Columns:count
3FB76DC838B78EECBF79C8F45CA271DE
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
4036C1B3D3D2B412634EAE801231BA17
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
4273AEA19662AFCF71AF5FC6D5ED459F
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
4443C7F3D194AD2B012688120CCC326F
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
457EFA17F7219C716B4CE09F1CE47821
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
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: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
46C213870A9FDBFE69842669B0DE4F3F
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 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 atr.title asc limit ?, ?
Time:15 ms
Records:12
Columns:letter, section_slug, sub_section_slug, canonical_link
47B25E3DA3896F89F19C40CABA233654
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
4B6786DE019DADC76F6F4482582637BE
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
4BDFA122901859CBC1A778956693EDB6
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: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, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
4E42B146FF4903DC2FB4131566E1F7E9
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
4E90FFD06795FC398CFBFEC394564E96
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:141 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
4EEBBF25B67538D4FDEE13322C5F218D
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
53DF8952CD661751967686927126C74F
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
545A9951AF2E00C892651D15D6EAE42B
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:172 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
5527276C9BBAB25DDDC8FBB603AA3A48
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:703 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
553E5E02AD98F03FF7A7B0FCA3CF4260
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
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
56E9DB66EF1196918794DEAD7FF82161
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 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
Time:47 ms
Records:1
Columns:count
57243050AF3A2421AB619324251A12DC
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: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, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
57F8128327C9F7D062ABB390F49B5254
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
5849175B68C220C32830BF8738B16CDC
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
595088CA38FF6C7F5E3EFE68D265038A
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: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
598A6645C02E94098B04DADC5C226B64
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
5C4DBBCEFA2D0A8D023EEA021A53E17C
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 ,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 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 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
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
5D57C9A855B5E79CE7273288938996CD
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
5EAF3A312609CF17944563CCBB71D851
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
5EF6FD47C3C3791DB786C954A0533DCA
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: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
5FF47C7DAA3C2AA819EA2E94C8857D37
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 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 lower(atr.title) like ? 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: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, 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
61CB4A528ECC2AE0946F2EDB1A844640
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: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, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
620568FDF4CE55C8B23DFF7E3C320F26
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
63F4A2E9F5244461257B1493DC1FE529
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
673D40E47675999D5CB4426A0B8B846C
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:79 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
675B9F4C708A3056BCF3A7177F15384F
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: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
68B6451ECA210A1C4EE265E6182C38B4
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: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, 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
68B9A162F6D1D61061CB8AD9222C5F86
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
68E213C0BF3D46639A721F94D50C1D6C
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:531 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
693D3AF4641409390C1A643665A3FBBC
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
6A0372E8833DCFCCF557F376EB7B2901
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:0 ms
Records:1
Columns:count
6A9CF91F3F178C4154CD517DCC5B2FD8
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: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
6AE057C2FEEE4DDD30BD0A9542ACE78B
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 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 lower(atr.title) like ? 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: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, 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
6AFAECB22A5506F45C0A940AC9FD929E
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
6BD4E2A990E7CC52186A85BFECD1CF68
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 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 lower(atr.title) like ? 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: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, 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
6D22B764971D160405F07DE3A114DB15
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 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 lower(atr.title) like ? 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: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
6EDF7BBF57BC286C5FD9A0697DFE15CE
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 lower(atr.title) like ? 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
6F2950005E71835F9FCF9496551CA1F6
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
6F3EF1B30930A18B80619DF8FC4BE868
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
6F40250224D2CFDB7E6D4B8E6DD0A96E
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:953 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
702FA72FC3BC08228FDF94C4E7D35B0B
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:23
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
7253820293BC06BEAEC05D371E4C47CA
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
75303D12C839C57D5EFB9028ECDECF74
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
75DA9EE3FDA69D306BC6780D5787BD09
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
767F49AD8C41A291F65027FAEA7F600A
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
768BC9A438B0371B1E096EFDE22CFCCA
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
770158BB5A13DD914200518C30829380
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 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 atr.title asc limit ?, ?
Time:16 ms
Records:19
Columns:letter, section_slug, sub_section_slug, canonical_link
78B57AC886DE7CA4FABD3BAC253C63A8
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: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, start_at, end_at, close_at
information_url, contact_details, location, organisation_name, organisation_url, section_slug
sub_section_slug, canonical_link
78EC160BFBBFFB92778C691F2D796A80
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
79E72217B70F26C44ABCB6F55027E01E
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
7B8E4614A7031BB789AEE61C59EE3204
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:32 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
7C6A7159F783ADD45F4C91ADB4B7DB29
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: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
7D6F781C512180B0FD7A086C6F2DA8BE
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
7D913A4EB9B0BB37B04A7EF3BD3954E3
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
803193C961AC9F716F012EACDEC66C19
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
808798AC7A2DC5FD2464FB27CF9AB3D2
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 lower(atr.title) like ? 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
80A54D1681DF0CD68A74C41BBCF2ADCF
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: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
80F066A1EE3CB9D35764D415F91DD193
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
81201B0794E1DAABE670F5C2D12585D3
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
815CE2381BAD012581F39AD55C8A1A5A
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
8160EF6D86E5B5E5BBD4CBD1A4CE86AF
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 , br.publisher, br.author_name, br.publication_date as book_publication_date, br.reviewer_name, br.price ,'' 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 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 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, publisher, author_name, book_publication_date
reviewer_name, price, section_slug, sub_section_slug, canonical_link
81835BFCFCD0713193654FC550E0A4F6
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
8397DF722C8809F834681EE6F08F069C
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
8459B8C43B5FD35C8292D7BAA67B45CF
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: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
85131211F183F5B0B1B7CA6E59FA6D00
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
868AD8C7FC9A5CE1D411D554076A3A7F
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
87A5283756CC9D864C0488FE39EE03A6
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
87B73983BBD8BBA631A0F40701B60002
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
8DA2E1FCA7CB9954450598711C00CFFB
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:141 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
8E3F9D38DE2727B1D2C3EAAE1EED078B
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:31 ms
Records:1
Columns:count
8FDAE40234F8E8742FCAD06CA406FC64
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:18
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
91D4CD1EE065E2E5A4B3A071CC3C8D66
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:14
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
926F814AD7B8E9FD2109DE0064430406
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
92FD3C498C5FF6720BFE220F40D6AC20
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:16 ms
Records:9
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
9519399ED68082DD0EBD092B58C03764
query [short version]
Query Source:SQL Query
Datasource:SCIDEV_PRODUCTION
Query: