Closed Bug 282384 Opened 21 years ago Closed 20 years ago

Templatize the 'select classification' bit of editproducts

Categories

(Bugzilla :: Administration, task)

2.19
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file, 2 obsolete files)

Note that this patch includes the editproducts footer template already reviewed as part of bug 282384. It is needed to test this patch. I'll update this patch or the other one as necessary to remove that bit, depending on which patch gets checked in first...
Attachment #174402 - Flags: review?
Updates after the other editproducts templates have been checked in. Also, added an 'add product' link to the table
Attachment #174402 - Attachment is obsolete: true
Attachment #174626 - Flags: review?
Attachment #174402 - Flags: review?
Comment on attachment 174626 [details] [diff] [review] templatize the 'select classification' bit of editproducts v2 Looks good; works well. r=LpSolit If a classification has a name such as :o' then I cannot add products, or more precisely this new product is not displayed when coming back to this page. Looking at my DB, it appears that this product has classification_id=0 !! But this problem also appears without this patch so this is really a different bug. Could you please open a bug for that (if confirmed) and eventually assigned it to me? My DB is now corrupted. :(
Attachment #174626 - Flags: review? → review+
Status: NEW → ASSIGNED
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
Flags: approval? → approval+
Just un-bitrotting, ready for check-in, but should probably get another r+ anyway
Attachment #177655 - Flags: review?(LpSolit)
Comment on attachment 177655 [details] [diff] [review] templatize the 'select classification' bit of editproducts v3 >+ $dbh->sql_group_by('classifications.id', >+ 'classifications.name, >+ classifications.description') . " I first thought there were missing quotes around the second and the third items, but looking at sql_group_by(), I realized this was correct... Feel better now. :) r=LpSolit
Attachment #177655 - Flags: review?(LpSolit) → review+
Attachment #174626 - Attachment is obsolete: true
Checking in editproducts.cgi; /cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v <-- editproducts.cgi new revision: 1.76; previous revision: 1.75 done Checking in template/en/default/admin/products/footer.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/footer.html.tmpl,v <-- footer.html.tmpl new revision: 1.2; previous revision: 1.1 done RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/list-classifications.html.tmpl,v done Checking in template/en/default/admin/products/list-classifications.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/list-classifications.html.tmpl,v <-- list-classifications.html.tmpl initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: