Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
events
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
events
Commits
1ae705f5
Commit
1ae705f5
authored
Apr 07, 2006
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- joined v3.1.4 with head
parent
6e0b49c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
24 deletions
+37
-24
index-postgresql.xql
www/admin/index-postgresql.xql
+35
-22
order-history-person.adp
www/admin/order-history-person.adp
+2
-2
No files found.
www/admin/index-postgresql.xql
View file @
1ae705f5
...
...
@@ -3,28 +3,41 @@
<fullquery
name=
"select_available_events_and_locations"
>
<querytext>
select CASE WHEN to_char(t.start_date, 'YYYY-MM-DD') = to_char(t.end_date, 'YYYY-MM-DD')
THEN to_char(t.start_date, :date_format) || ' (' || to_char(t.start_date, :time_format) || ' - ' || to_char(t.end_date, :time_format) || ')'
ELSE to_char(t.start_date, :date_format) || ' ' || to_char(t.start_date, :time_format) || ' - ' || to_char(t.end_date, :date_format) || ' ' || to_char(t.end_date, :time_format)
END as timespan,
coalesce(e.name, a.name) as name,
e.event_id,
v.city
from acs_activities a,
acs_events e,
events_activities ea,
events_events ee,
timespans s,
time_intervals t,
events_venues v
where e.timespan_id = s.timespan_id
and s.interval_id = t.interval_id
and e.activity_id = a.activity_id
and a.activity_id = ea.activity_id
and e.event_id = ee.event_id
and v.venue_id = ee.venue_id
and ee.available_p = 't'
and ea.package_id = :package_id
select
CASE WHEN to_char(t.start_date, 'YYYY-MM-DD') = to_char(t.end_date, 'YYYY-MM-DD')
THEN to_char(t.start_date, :date_format) ||
' (' || to_char(t.start_date, :time_format) || ' - ' ||
to_char(t.end_date, :time_format) || ')'
ELSE
to_char(t.start_date, :date_format) || ' ' ||
to_char(t.start_date, :time_format) || ' - ' ||
to_char(t.end_date, :date_format) || ' ' ||
to_char(t.end_date, :time_format)
END as timespan,
coalesce(e.name, a.name) as name,
e.event_id,
v.city
from
acs_activities a,
acs_events e,
events_activities ea,
events_events ee,
timespans s,
time_intervals t,
events_venues v
where
e.timespan_id = s.timespan_id
and s.interval_id = t.interval_id
and e.activity_id = a.activity_id
and a.activity_id = ea.activity_id
and e.event_id = ee.event_id
and v.venue_id = ee.venue_id
and ee.available_p = 't'
and ea.package_id = :package_id
order by
t.start_date DESC
</querytext>
</fullquery>
...
...
www/admin/order-history-person.adp
View file @
1ae705f5
...
...
@@ -7,10 +7,10 @@
<th align=right>Name</th><td>@user_name@</td>
</tr>
<tr>
<th align=right>Email</th><td>@user_email@</td>
<th align=right>Email</th><td>@user_email
;noquote
@</td>
</tr>
<tr>
<th align=right>Community Page</th><td>@member_link@</td>
<th align=right>Community Page</th><td>@member_link
;noquote
@</td>
</tr>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment