Re: 2 questions: unique properties + history

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Fri, Feb 26, 2021 at 12:47:07PM +0100, Nagy Gabor wrote:
> 
> Thank you for reply and your sample codes. Then I will use db._db to
> access the database API, if necessary.

You're welcome.

> In fact, I want to write a wizard for editing issues and to mimic a
> process management system: The layout of issue.item html page should
> depend on the actual status of the issue. For example, if the status is
> "new", then I want to restrict user to set the status to "phase1A" or
> "phase1B". (And I don't want to use the "menu" method, a hidden status
> variable should be set silently by an onclick javascript action when
> the user pressed a  button - and for this, I will need the IDs of the
> statuses).

In fact as outlined before you can use the *name* instead of the *id*.
Which would probably remove your lookup-problem altogether.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.