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

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
MSG
 
 
Posted: 12 May 2008 08:01 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  348
Joined  09-20-2006

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:  32132
Joined  05-14-2004

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
MSG
 
 
Posted: 12 May 2008 09:03 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  348
Joined  09-20-2006
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:  32132
Joined  05-14-2004

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
MSG
 
 
Posted: 12 May 2008 09:10 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  348
Joined  09-20-2006

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  06-19-2005

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:  14052
Joined  05-15-2004

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.

Profile
MSG
 
 
   
 
 
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: 62656 Total Logged-in Users: 39
Total Topics: 77194 Total Anonymous Users: 19
Total Replies: 416707 Total Guests: 223
Total Posts: 493901    
Members ( View Memberlist )