Building a Bug Tracker: Filtering by Severity
Posted: 12 May 2008 01:26 PM   [ Ignore ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30384
Joined  2004-05-14

In the beginning of this series, we set up some custom fields to handle data for the bug tracker.  Those custom fields can be used now, to help filter the data and get a more specific view for issues pertaining to any of those custom fields. 

The magic here will be using the weblog entries tag with the search parameter and segments.

Shall we? 

Onwards!

 Signature 
Profile
 
 
Posted: 12 May 2008 08:01 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  279
Joined  2006-09-20

Lisa,

Great addition!  I’ve never used the search parameter before.  Thanks for explaining it!

One comment - When I click on the “Major” severity link, the output doubles the

<h3>Filtering by {segment_4} {segment_3}</h3>

So it reads:

Filtering by Major severity
Filtering by Major severity

That is the only type that is duplicated?!  The minor, trivial, and critical only read out with one of the “Filtering by” statements.

Jesse

 Signature 

“I am so clever that sometimes I don’t understand a single word of what I am saying.”

Profile
 
 
Posted: 12 May 2008 08:52 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30384
Joined  2004-05-14

Hrm, Jesse - I can’t reproduce that, but I have no bugs of Major severity.  Are you sure you put that Filtering comment inside the {if count == “1"} conditional?

 Signature 
Profile
 
 
Posted: 12 May 2008 09:03 PM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  279
Joined  2006-09-20

Are you sure you put that Filtering comment inside the {if count == “1"} conditional?

Now I am!

That was it.  It is strange that it only affected one of the types while it was out of the {if count =="1"} conditional though…

Thanks for another great addition to this section.

 Signature 

“I am so clever that sometimes I don’t understand a single word of what I am saying.”

Profile
 
 
Posted: 12 May 2008 09:07 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30384
Joined  2004-05-14

I’m assuming your other severities had more than one entry? =)

I’m glad it’s fixed now and thank you for the feedback.  I was really looking forward to writing this article, as I think that the flexibility of search: with segments is just awesome; I played with it for a good long while when I was first allowed to test it.  Quite possibly one of my favorite newer features. =)

 Signature 
Profile
 
 
Posted: 12 May 2008 09:10 PM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  279
Joined  2006-09-20

As I have said before, I think that these series are the way that I learn the details of EE best.

I am always looking forward to the next installment!

Keep them up!

 Signature 

“I am so clever that sometimes I don’t understand a single word of what I am saying.”

Profile
 
 
Posted: 16 May 2008 12:37 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  147
Joined  2005-06-19

I agree with jschutt. Never really understood and used the segments before.
Your tutorials are great. Can’t get enough of this stuff.
Thanks Lisa.  grin

Profile
 
 
Posted: 16 May 2008 12:51 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11712
Joined  2004-05-15

Wow, segments… I couldn’t imagine building a site without it… Seriously, I use them on every single site. But, yes, Lisa writes nice tutorials grin

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.
No PM’s, please—use regular mail.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 58770 Total Logged-in Users: 31
Total Topics: 69454 Total Anonymous Users: 11
Total Replies: 373864 Total Guests: 492
Total Posts: 443318    
Members ( View Memberlist )