Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-trans-project-feedback
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
intranet-trans-project-feedback
Commits
fb2912b6
Commit
fb2912b6
authored
Oct 16, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- fixed query and legend (pie chart)
parent
53ce2cf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
graph-panel.adp
lib/graph-panel.adp
+2
-2
intranet-trans-project-feedback-create.sql
sql/postgresql/intranet-trans-project-feedback-create.sql
+8
-4
No files found.
lib/graph-panel.adp
View file @
fb2912b6
...
...
@@ -36,7 +36,7 @@ Ext.onReady(function () {
var translationProjectFeedbackNonConformityProportionStore = Ext.create('Ext.data.Store', {
fields: [
{ name: 'c
hoice
', type: 'string' },
{ name: 'c
ategory
', type: 'string' },
{ name: 'count', type: 'int'}
],
autoLoad: true,
...
...
@@ -134,7 +134,7 @@ Ext.onReady(function () {
}
},
label: {
field: 'c
hoice
',
field: 'c
ategory
',
display: 'rotate',
contrast: true,
font: '11px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',
...
...
sql/postgresql/intranet-trans-project-feedback-create.sql
View file @
fb2912b6
...
...
@@ -525,7 +525,7 @@ BEGIN
r.related_object_id
from
im_projects p,
survsimp_responses
r,
(select distinct on (related_object_id) * from survsimp_responses order by related_object_id, response_id DESC)
r,
survsimp_question_responses qr,
survsimp_surveys s,
survsimp_questions q
...
...
@@ -599,7 +599,12 @@ BEGIN
set
report_sql
=
'
select
im_category_from_id(choice_id) as category,
CASE qr.choice_id is null
WHEN true THEN
''
None
''
ELSE
(select label from survsimp_question_choices where choice_id = qr.choice_id)
END as category,
count(*)
from
(
...
...
@@ -618,9 +623,8 @@ BEGIN
and r.related_object_id = p.project_id
and r.response_id = qr.response_id
and q.survey_id = s.survey_id
and
(q.question_text =
''
Sub Type
''
)
and
q.question_text =
''
Sub Type
''
and q.question_id = qr.question_id
and qr.choice_id is not null
and p.start_date::date between
''
%start_date%
''
::date and
''
%end_date%
''
::date
and p.parent_id is null
and project_id in (
...
...
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