Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-dynfield
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-dynfield
Commits
d3250e62
Commit
d3250e62
authored
Jul 04, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- fixed issue with blanks in category title
parent
fb3bd79a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
attribute-type-map.tcl
www/attribute-type-map.tcl
+14
-12
No files found.
www/attribute-type-map.tcl
View file @
d3250e62
...
...
@@ -101,18 +101,20 @@ db_foreach top_scale_map "
category_id
"
{
set col_title
""
foreach c
$category
{
if
{[
string
length
$c
]
==
[
expr
{
$max
_length+1
}]}
{
append col_title
$c
set c
""
}
while
{[
string
length
$c
]
>
$max
_length
}
{
append col_title
"
[
string
range
$c
0
$max
_length-1
]
"
set c
[
string
range
$c
$max
_length end
]
}
append col_title
"
$c
"
}
set top_scale_map
(
$category
_id
)
$col
_title
# KH: Not working - disabled 4now
# foreach c
$category
{
# if
{[
string
length
$c
]
==
[
expr
{
$max
_length+1
}]}
{
# append col_title
$c
# set c
""
#
}
# while
{[
string
length
$c
]
>
$max
_length
}
{
# append col_title
"
[
string
range
$c
0
$max
_length-1
]
"
# set c
[
string
range
$c
$max
_length end
]
#
}
# append col_title
"
$c
"
#
}
# set top_scale_map
(
$category
_id
)
$col
_title
set top_scale_map
(
$category
_id
)
"
$category
"
}
...
...
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