Skip to content

Commit

Permalink
There is no 'position' column
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloke committed Apr 11, 2017
1 parent 9e1e443 commit 30d74e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smd_tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -3978,7 +3978,7 @@ function($k) { return 'custom_' . $k; }, array_keys($cfs)
// Lookup table for making SQL queries
$sqlStubs = array(
"article" => array(
"select" => "txp.ID, Posted, Expires, AuthorID, LastMod, LastModID, txp.Title, Title_html, Body, Body_html, Excerpt, Excerpt_html, Image, Category1, Category2, Annotate, AnnotateInvite, comments_count, Status, textile_body, textile_excerpt, Section, override_form, Keywords, txp.description, url_title" . ($cfKeys ? ','. $cfKeys : '') . ", uid, feed_time, position, unix_timestamp(Posted) as uPosted, unix_timestamp(LastMod) as uLastMod, unix_timestamp(Expires) as uExpires, COUNT(smt.name) as tag_sum",
"select" => "txp.ID, Posted, Expires, AuthorID, LastMod, LastModID, txp.Title, Title_html, Body, Body_html, Excerpt, Excerpt_html, Image, Category1, Category2, Annotate, AnnotateInvite, comments_count, Status, textile_body, textile_excerpt, Section, override_form, Keywords, txp.description, url_title" . ($cfKeys ? ','. $cfKeys : '') . ", uid, feed_time, unix_timestamp(Posted) as uPosted, unix_timestamp(LastMod) as uLastMod, unix_timestamp(Expires) as uExpires, COUNT(smt.name) as tag_sum",
"table" => "textpattern",
"gtags" => $thisarticle,
"gid" => "thisid",
Expand Down

0 comments on commit 30d74e0

Please sign in to comment.