תבנית:שליפת טבלת משחקים שאלתא: הבדלים בין גרסאות בדף

מתוך ויקיפועל
קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
אין תקציר עריכה
שורה 34: שורה 34:
|where={{#var:whereclause}}
|where={{#var:whereclause}}
|format=dynamic table
|format=dynamic table
|order by=year,month,day DESC
|order by=Games.year,Games.month,Games.day DESC
|default=
|default=
|rows per page=100
|rows per page=100

גרסה מ־20:24, 4 באוגוסט 2022

תאריך מפעל מפגשים נצחונות תיקו הפסדים הפרש
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=year,month,day DESC ORDER BY `cargo__Games`.`year`,`cargo__Games`.`month`,`car' at line 9

Function: CargoSQLQuery::run Query: SELECT `cargo__Games`.`_pageID` AS `cargo_backlink_page_id_Games`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>',`cargo__Games`.`year`,'-',`cargo__Games`.`month`,'-',`cargo__Games`.`day`,'</div>') AS `תאריך`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`ona`,'','</div>') AS `עונה`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`mifal`,'','</div>') AS `מפעל`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>',`cargo__Games`.`stage`,'</div>') AS `שלב`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`host`,'','</div>') AS `מארחת`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`oponent`,'','</div>') AS `אורחת`,IF(`cargo__Games`.`liga` = '1',concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>'),concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>')) AS `תוצאה` FROM `cargo__Games` WHERE liga IS NOT NULL AND department='{{{מחלקה}}}' AND result='{{{תוצאה}}}' AND homegame='{{{ביתיות}}}' AND (`cargo__Games`.`host`= OR `cargo__Games`.`oponent`=) AND (year>'{{{משנה}}}' OR (year='{{{משנה}}}' AND month>'{{{מחודש}}}') OR (year='{{{משנה}}}' AND month='{{{מחודש}}}' AND day>='{{{מיום}}}')) AND (year<'{{{לשנה}}}' OR (year='{{{לשנה}}}' AND month<'{{{לחודש}}}') OR (year='{{{לשנה}}}' AND month='{{{לחודש}}}' AND day<='{{{ליום}}}')) AND mifal='{{{מפעל}}}' order by=year,month,day DESC ORDER BY `cargo__Games`.`year`,`cargo__Games`.`month`,`cargo__Games`.`day` DESC LIMIT 100