Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
594b23e7
Commit
594b23e7
authored
10 years ago
by
SNA
Browse files
Options
Downloads
Patches
Plain Diff
FEAT#1522: filtre sur le statut des attachments.
parent
9efc2f72
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/trunk/structure.sql
+2
-2
2 additions, 2 deletions
core/trunk/structure.sql
with
2 additions
and
2 deletions
core/trunk/structure.sql
+
2
−
2
View file @
594b23e7
...
@@ -3639,7 +3639,7 @@ CREATE VIEW res_view_letterbox AS
...
@@ -3639,7 +3639,7 @@ CREATE VIEW res_view_letterbox AS
FROM
doctypes
d
,
doctypes_first_level
dfl
,
doctypes_second_level
dsl
,
FROM
doctypes
d
,
doctypes_first_level
dfl
,
doctypes_second_level
dsl
,
(((((((((((
ar_batch
a
RIGHT
JOIN
res_letterbox
r
ON
((
r
.
arbatch_id
=
a
.
arbatch_id
)))
(((((((((((
ar_batch
a
RIGHT
JOIN
res_letterbox
r
ON
((
r
.
arbatch_id
=
a
.
arbatch_id
)))
LEFT
JOIN
(
SELECT
res_attachments
.
res_id_master
,
count
(
res_attachments
.
res_id_master
)
AS
count_attachment
LEFT
JOIN
(
SELECT
res_attachments
.
res_id_master
,
count
(
res_attachments
.
res_id_master
)
AS
count_attachment
FROM
res_attachments
GROUP
BY
res_attachments
.
res_id_master
)
att
ON
(
r
.
res_id
=
att
.
res_id_master
))
FROM
res_attachments
WHERE
res_attachments
.
status
<>
'DEL'
GROUP
BY
res_attachments
.
res_id_master
)
att
ON
(
r
.
res_id
=
att
.
res_id_master
))
LEFT
JOIN
entities
en
ON
(((
r
.
destination
)::
text
=
(
en
.
entity_id
)::
text
)))
LEFT
JOIN
entities
en
ON
(((
r
.
destination
)::
text
=
(
en
.
entity_id
)::
text
)))
LEFT
JOIN
folders
f
ON
((
r
.
folders_system_id
=
f
.
folders_system_id
)))
LEFT
JOIN
folders
f
ON
((
r
.
folders_system_id
=
f
.
folders_system_id
)))
LEFT
JOIN
cases_res
cr
ON
((
r
.
res_id
=
cr
.
res_id
)))
LEFT
JOIN
cases_res
cr
ON
((
r
.
res_id
=
cr
.
res_id
)))
...
@@ -3745,4 +3745,4 @@ CREATE VIEW view_contacts AS
...
@@ -3745,4 +3745,4 @@ CREATE VIEW view_contacts AS
ca
.
website
,
ca
.
salutation_header
,
ca
.
salutation_footer
,
ca
.
other_data
,
ca
.
user_id
,
ca
.
entity_id
,
ca
.
is_private
ca
.
website
,
ca
.
salutation_header
,
ca
.
salutation_footer
,
ca
.
other_data
,
ca
.
user_id
,
ca
.
entity_id
,
ca
.
is_private
FROM
contacts_v2
c
FROM
contacts_v2
c
RIGHT
JOIN
contact_addresses
ca
RIGHT
JOIN
contact_addresses
ca
ON
c
.
contact_id
=
ca
.
contact_id
;
ON
c
.
contact_id
=
ca
.
contact_id
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment