• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tf / pageflow / 2089
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: actions
DEFAULT BRANCH: master
Ran 12 Feb 2019 09:14AM UTC
Jobs 2
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2089

push

travis-ci

tf
Ensure entries can be filtered by publication date

Trying to filter entries by publication date in the entry admin index
list caused an error of the form:

    Column 'published_at' in on clause is ambiguous

The combination of the `includes(:published_revision)` in
`scoped_collection` and the `:published_revision_published_at` filter
caused the revisions table to be joined twice, making the unqualified
column `published_at` in the query of the `Revision.published` scope
ambiguous.

Since there is no documented way to obtain the current table alias,
the `published` query has been rewritten to use hash syntax instead of
an SQL fragment.

The comparison of `published_until` can be replaced with a date
range. Since `published_at` is only ever set to the current time, its
value can never be in the future. Checking for its presence is
therefore equivalent to checking whether it lies in the past.

Duplicating the `published_at IS NOT NULL` check, to make precendence
of `AND` and `OR` operators explicit.

REDMINE-16490
Jobs
ID Job ID Ran Files Coverage
1 2089.1 (2.3.1, PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true) 12 Feb 2019 09:14AM UTC 0
99.27
Travis Job 2089.1
2 2089.2 (2.5.3, PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true) 12 Feb 2019 09:14AM UTC 0
99.28
Travis Job 2089.2
Source Files on build 2089
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2089
  • 5106db31 on github
  • Prev Build on filter-by-published-at (#2087)
  • Next Build on filter-by-published-at (#2092)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc