LinkCallback logic inverted

I was doing some testing of the various search fields available and
noticed that the logic in /Elements/RT_Ticket/ColumnMap subroutine
LinkCallback is inverted.

It categorizes tickets on the opposite of the base/target link
direction. For example:

  1. Ticket 100 DependsOn Ticket 200 (thus 200 DependedOnBy 100)
  2. In a search with the DependsOn and DependedOnBy fields you get

ID DependsOn DependedOnBy
100 200
200 100

When it should be:
ID DependsOn DependedOnBy
100 200
200 100

The attached patch fixes this.

Joby Walker
ITI SSG, University of Washington

InvLinkCallBack.patch (2.14 KB)

I was doing some testing of the various search fields available and
noticed that the logic in /Elements/RT_Ticket/ColumnMap subroutine
LinkCallback is inverted.

I think this is something that alex committed a fix for within the
past week or two. Alex?

Jesse

(As an aside, you really, really want to upgrade your SVK to 1.0.4 or
so. There were a couple really nasty issues that could clobber your
configuration if a certain race condition got hit in 1.0)