summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty21
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty b/Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty
index e17ba8bd8c3..9de0d1ea4a7 100644
--- a/Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty
+++ b/Master/texmf-dist/tex/latex/pgfplots/bugtracker.sty
@@ -127,12 +127,17 @@
}%
\long\def\bugtracker@enqueue#1#2{%
- \toks0={#2}%
- % some of these values are used during the sort procedure; that's
- % why they are not simply a list of keys. Perhaps they should
- % still be a list of keys...
- \edef\bugtracker@entry{{#1}{\bugtracker@status}{\pgfkeysvalueof{/bugtracker/prio}}{\the\toks0}{\the\inputlineno}{\pgfkeysvalueof{/bugtracker/epic}}}%
- \expandafter\pgfplotsarraypushbackglobal\expandafter{\bugtracker@entry}\to\bugtrackeritems
+ \edef\bugtracker@status@order{\pgfkeysvalueof{/bugtracker/status order/\bugtracker@status}}%
+ \ifx\bugtracker@status@order\pgfutil@empty
+ % status order/<status name>={} --> do not display it!
+ \else
+ \toks0={#2}%
+ % some of these values are used during the sort procedure; that's
+ % why they are not simply a list of keys. Perhaps they should
+ % still be a list of keys...
+ \edef\bugtracker@entry{{#1}{\bugtracker@status}{\pgfkeysvalueof{/bugtracker/prio}}{\the\toks0}{\the\inputlineno}{\pgfkeysvalueof{/bugtracker/epic}}}%
+ \expandafter\pgfplotsarraypushbackglobal\expandafter{\bugtracker@entry}\to\bugtrackeritems
+ \fi
\endgroup
\end{#1}%
}%
@@ -243,8 +248,10 @@
status/+/.style= {/bugtracker/status/closed},
status/X/.style= {/bugtracker/status/cancelled},
status=open,
+ % status order/<statusname>/.initial=int . Empty means:
+ % do not display it at all.
status order/open/.initial=0,
- status order/closed/.initial=10,
+ status order/closed/.initial=,%10,
status order/cancelled/.initial=7,
status order/partially/.initial=1,
shell escape/.initial=-shell-escape,