Custom field URL glitch?

With 2.1.75 in the main screen. when you:

Configuration > Global > Custom Fields:

I have created one custom field `Operating Systems’. From this Custom
Fields screen the URL is:

http://${webbase}/rt/Admin/Global/CustomField.html?Queue=0&CustomField=1

Once you click on it, you will see the left-hand side will have a Custom
Field #1 link, however this URL is:

http://${webbase}/rt/Admin/Global/CustomField.html?id=1&Queue=0

Which is probably not what was intended.

Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B
http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/
Confutatis maledictis, flammis acribus addictis…

Fixed it to point to the right URL.

Find the patch attached.

Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B
http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/
Confutatis maledictis, flammis acribus addictis…

CustomField.html.diff (679 Bytes)

Thanks. equivalent patch appliedOn Tue, Mar 04, 2003 at 10:57:57PM +0100, Jeroen Ruigrok/asmodai wrote:

Fixed it to point to the right URL.

Find the patch attached.


Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B
http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/
Confutatis maledictis, flammis acribus addictis…

— html/Admin/Global/CustomField.html.orig Tue Mar 4 22:55:50 2003
+++ html/Admin/Global/CustomField.html Tue Mar 4 22:56:00 2003
@@ -49,11 +49,11 @@
}
else {
$current_subtab =

  •  "Admin/Global/CustomField.html?id=" . $CustomField . "&Queue=0";
    
  •  "Admin/Global/CustomField.html?Queue=0&CustomField=" . $CustomField;
    
    $title = loc(‘Modify a CustomField which applies to all queues’);
    $subtabs->{“C”} = {
    title => loc( ‘Custom Field #[_1]’, $CustomField ),
  •    path => "Admin/Global/CustomField.html?id=" . $CustomField . "&Queue=0"
    
  •    path => "Admin/Global/CustomField.html?Queue=0&CustomField=" . $CustomField
    
    };
    }
    </%INIT>

http://www.bestpractical.com/rt – Trouble Ticketing. Free.