Git Product home page Git Product logo

rex-news's People

Contributors

jfax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rex-news's Issues

Fehler in Sprachfilterung bei Liste (Letzte Version vom 2 Apr 2014)

Wenn man wie in meinem Fall 3 Sprachen aktiv hat und nun auf der Startseite News "nur für aktuelle Sprache" ausgibt werden trotzdem News aus anderen Sprachen ausgegeben. Beim Debuggen stellte ich fest, dass der Wert "language" gar nicht im SQL-Query berücksichtigt wird.

Query: SELECT * ,
CASE
WHEN REPLACE(stickyUntil, "-", "") > CURDATE() + 0 THEN true
ELSE false
END as st

FROM rex_336_news
WHERE (
((offline_date = "0000-00-00") OR (REPLACE(offline_date, "-", "") > CURDATE() + 0))
AND
((online_date = "0000-00-00") OR REPLACE(online_date, "-", "") <= CURDATE() + 0)
)
AND status = "1" AND flag = 1
ORDER BY st DESC, online_date DESC LIMIT 0,3
Affected Rows: 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.