Open Bug 278032 Opened 20 years ago Updated 1 year ago

Search.pm should return something more object-like (like a list of Bug objects)

Categories

(Bugzilla :: Query/Bug List, enhancement, P1)

2.19.1
enhancement

Tracking

()

People

(Reporter: mkanat, Unassigned)

References

(Blocks 1 open bug)

Details

It might be nice if Search.pm returned an $sth handle that could be executed. Of course, it would then also have to return an array of values to fill in the placeholders... Maybe I'll have to think about this a bit.
Actually, making it use placeholders would be an improvment.
Assignee: nobody → bugreport
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think it would also be interesting to look at the Query.pm module that Sean attached as part of attachment 171799 [details] on bug 91037 (which looks like a wholly-OO Search.pm).
Blocks: bz-majorarch
No longer blocks: bz-deprecateddb
QA Contact: mattyt-bugzilla → default-qa
Priority: -- → P1
Summary: Search.pm should return something more object-like (like a DBI handle) → Search.pm should return something more object-like (like a list of Bug objects)
Blocks: 398281
No longer blocks: 398281
You might want to take a look at Testopia::Search.pm and Testopia::Table.pm. They are pretty hackish and ugly but they may give you ideas. This is an area I have wanted to see cleaned up in Bugzilla for ages. I'd be willing to help out with this.
Assignee: bugreport → query-and-buglist
Keywords: student-project
Keywords: student-project
You need to log in before you can comment on or make changes to this bug.