Re: How to include a form field in new items
Ralf Schlatterbeck <[email protected]> Thu, 28 Apr 2022 10:18:11 +0200
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 25, 2022 at 02:22:25PM -0400, John P. Rouillard wrote: > Hi all: > > I have a sort of odd issue. I am looking at setting up a system for supply > ordering. > > So I will have an supply request issue with some notes and fields: > > city > office number > > and then a series of inventory request items: > > number, item, status [ordered, supplied] > > Setting up the request items is easy: > > name="requestItem-1@number_needed" > name="requestItem-1@item" > name="requestItem-1@status" > > etc. Increment -1 to -2 for the next item etc. The request items are > sort of like https://wiki.roundup-tracker.org/GrabBagIssues. > > However I want to cross link these. So I can do a search in requests > and have the table filtered by office and city. So I can say: show me > all open requests for Boston or show me all requests for Boston office > #23. > > I think a reverse multilink may be useful here. It will really be a > reverse link (only one element) but I am not sure if this is a good > application. I don't fully understand your schema: - The requestItem has a link to a Class named 'city'? - The requestItem has a link to a Class named 'office'? Then you can search for requestItem via the standard search form, no need for a reverse multilink. But I may not understand this correctly. Depending on how many items are in city and office you can either make a 'menu' in the requestItem item-template or a 'field' with a 'classhelp' link on the right side. Ralf -- Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16 Open Source Consulting www: www.runtux.com Reichergasse 131, A-3411 Weidling email: [email protected]