<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app, branch 6035-fix-inflections</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs #6035; Override `pluralize`method in views only</title>
<updated>2018-02-28T13:23:40+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-28T13:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a86045363636aa4d289167a987eaf05addc1b5d5'/>
<id>a86045363636aa4d289167a987eaf05addc1b5d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small css fix on referential overviews</title>
<updated>2018-02-27T11:26:39+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-27T11:26:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f8609e6c8a4f460473991875df398e4509b09434'/>
<id>f8609e6c8a4f460473991875df398e4509b09434</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorder route_stop_points when creating Chouette::StopPoint in route merge. Refs #6040</title>
<updated>2018-02-27T11:13:23+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-27T11:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3962a79ffd3780bcd2107db6e4d43e41e44c3af1'/>
<id>3962a79ffd3780bcd2107db6e4d43e41e44c3af1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small bug on referential overview</title>
<updated>2018-02-23T10:47:06+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-23T10:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=206bf218e1b84dbe53683ec2e3f983cd30f7ded1'/>
<id>206bf218e1b84dbe53683ec2e3f983cd30f7ded1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a spec to verify to Referential migration count after creation. Refs #6010</title>
<updated>2018-02-22T18:18:26+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T18:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=02cd9a9e5d05ab9858e6de27e38cd6b56b919d69'/>
<id>02cd9a9e5d05ab9858e6de27e38cd6b56b919d69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>VehicleJourney#in_purchase_window: Use table namespace in query</title>
<updated>2018-02-22T16:11:48+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-02-22T16:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ea84163e3cfcb721c184772721373ccbbd6b337a'/>
<id>ea84163e3cfcb721c184772721373ccbbd6b337a</id>
<content type='text'>
We were getting this errorwhen filtering by purchase window on the
`ReferentialVehicleJourneys#index` page.

An example of a filter query that triggered the error:
http://stif-boiv.dev:3000/referentials/4/vehicle_journeys?utf8=✓&amp;q[published_journey_name_or_objectid_cont]=&amp;q[company_id_eq_any][]=&amp;q[route_line_id_eq]=&amp;q[published_journey_name_gteq]=&amp;q[published_journey_name_lteq]=&amp;q[stop_area_ids][]=&amp;q[purchase_window][start_date(3i)]=12&amp;q[purchase_window][start_date(2i)]=1&amp;q[purchase_window][start_date(1i)]=2018&amp;q[purchase_window][end_date(3i)]=15&amp;q[purchase_window][end_date(2i)]=1&amp;q[purchase_window][end_date(1i)]=2019&amp;q[time_table][start_date(3i)]=&amp;q[time_table][start_date(2i)]=&amp;q[time_table][start_date(1i)]=&amp;q[time_table][end_date(3i)]=&amp;q[time_table][end_date(2i)]=&amp;q[time_table][end_date(1i)]=&amp;commit=Filtrer

    ActiveRecord::StatementInvalid in ReferentialVehicleJourneys#index

    Showing stif-boiv/app/views/referential_vehicle_journeys/_filters.html.slim where line #24 raised:

    PG::AmbiguousColumn: ERROR:  column reference "id" is ambiguous
    LINE 1: ...RE "vehicle_journeys"."journey_category" = 0 AND (id IN (SEL...
                                                                 ^
    : SELECT "public"."lines".* FROM "public"."lines" WHERE (id IN (SELECT  routes.line_id FROM "vehicle_journeys" INNER JOIN "routes" ON "routes"."id" = "vehicle_journeys"."route_id" WHERE "vehicle_journeys"."journey_category" = 0 AND (id IN (SELECT DISTINCT vehicle_journeys.id FROM "purchase_windows" INNER JOIN "purchase_windows_vehicle_journeys" ON "purchase_windows_vehicle_journeys"."purchase_window_id" = "purchase_windows"."id" INNER JOIN "vehicle_journeys" ON "vehicle_journeys"."id" = "purchase_windows_vehicle_journeys"."vehicle_journey_id" AND "vehicle_journeys"."journey_category" = 0 WHERE (daterange('2018-01-12', '2019-01-16') &amp;&amp; any (date_ranges))))  ORDER BY "vehicle_journeys"."published_journey_name" ASC LIMIT 10 OFFSET 0))

    Extracted source (around line #24):

              class: 'control-label'
          .form-inline.filter_menu
            = f.input :route_line_id_eq,
                as: :select,
                include_blank: t(".all"),
                collection: @vehicle_journeys.lines,

    Trace of template inclusion: app/views/referential_vehicle_journeys/index.html.slim

We're trying to match `VehicleJourney`s here, so qualify the `id` column
with the table name to fix the error.

Refs #5943
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were getting this errorwhen filtering by purchase window on the
`ReferentialVehicleJourneys#index` page.

An example of a filter query that triggered the error:
http://stif-boiv.dev:3000/referentials/4/vehicle_journeys?utf8=✓&amp;q[published_journey_name_or_objectid_cont]=&amp;q[company_id_eq_any][]=&amp;q[route_line_id_eq]=&amp;q[published_journey_name_gteq]=&amp;q[published_journey_name_lteq]=&amp;q[stop_area_ids][]=&amp;q[purchase_window][start_date(3i)]=12&amp;q[purchase_window][start_date(2i)]=1&amp;q[purchase_window][start_date(1i)]=2018&amp;q[purchase_window][end_date(3i)]=15&amp;q[purchase_window][end_date(2i)]=1&amp;q[purchase_window][end_date(1i)]=2019&amp;q[time_table][start_date(3i)]=&amp;q[time_table][start_date(2i)]=&amp;q[time_table][start_date(1i)]=&amp;q[time_table][end_date(3i)]=&amp;q[time_table][end_date(2i)]=&amp;q[time_table][end_date(1i)]=&amp;commit=Filtrer

    ActiveRecord::StatementInvalid in ReferentialVehicleJourneys#index

    Showing stif-boiv/app/views/referential_vehicle_journeys/_filters.html.slim where line #24 raised:

    PG::AmbiguousColumn: ERROR:  column reference "id" is ambiguous
    LINE 1: ...RE "vehicle_journeys"."journey_category" = 0 AND (id IN (SEL...
                                                                 ^
    : SELECT "public"."lines".* FROM "public"."lines" WHERE (id IN (SELECT  routes.line_id FROM "vehicle_journeys" INNER JOIN "routes" ON "routes"."id" = "vehicle_journeys"."route_id" WHERE "vehicle_journeys"."journey_category" = 0 AND (id IN (SELECT DISTINCT vehicle_journeys.id FROM "purchase_windows" INNER JOIN "purchase_windows_vehicle_journeys" ON "purchase_windows_vehicle_journeys"."purchase_window_id" = "purchase_windows"."id" INNER JOIN "vehicle_journeys" ON "vehicle_journeys"."id" = "purchase_windows_vehicle_journeys"."vehicle_journey_id" AND "vehicle_journeys"."journey_category" = 0 WHERE (daterange('2018-01-12', '2019-01-16') &amp;&amp; any (date_ranges))))  ORDER BY "vehicle_journeys"."published_journey_name" ASC LIMIT 10 OFFSET 0))

    Extracted source (around line #24):

              class: 'control-label'
          .form-inline.filter_menu
            = f.input :route_line_id_eq,
                as: :select,
                include_blank: t(".all"),
                collection: @vehicle_journeys.lines,

    Trace of template inclusion: app/views/referential_vehicle_journeys/index.html.slim

We're trying to match `VehicleJourney`s here, so qualify the `id` column
with the table name to fix the error.

Refs #5943
</pre>
</div>
</content>
</entry>
<entry>
<title>Return false in has_feature? when no organisation is defined. Refs #6007</title>
<updated>2018-02-22T14:39:11+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T14:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=435b6682d70e637e7911f19e94977d1146a63b1b'/>
<id>435b6682d70e637e7911f19e94977d1146a63b1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #330 from af83/5993-enhance-detailed-calendar</title>
<updated>2018-02-22T12:48:01+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T12:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9676be313990b08f402d096ba267980c14c69b74'/>
<id>9676be313990b08f402d096ba267980c14c69b74</id>
<content type='text'>
Homogenize calendars display. Refs #5993 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Homogenize calendars display. Refs #5993 </pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #331 from af83/5938-locale-selector</title>
<updated>2018-02-22T11:17:06+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T11:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=113487042fc69a0a0c979d09148d3f5e8642b927'/>
<id>113487042fc69a0a0c979d09148d3f5e8642b927</id>
<content type='text'>
Add a locale selector menu item. Refs #5398 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a locale selector menu item. Refs #5398 </pre>
</div>
</content>
</entry>
<entry>
<title>Test feature :change_locale to display language switch. Refs #5938</title>
<updated>2018-02-22T10:51:30+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T10:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=caa24bf7e89d9595f95156433638a9cb1e6df36f'/>
<id>caa24bf7e89d9595f95156433638a9cb1e6df36f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
