Jump to content

Forums

Rank order not correct


Recommended Posts

Hello,

Decided today to do some reorganisation of our ranks, and ive come across an issue. So before today we had one Rank Group with every rank in the correct order for promotions etc. However, we noticed that the next rank in promotion was not showing correctly for our Air Ranks and Specialist ranks, so as a way around I have separated these into separate groups. In effect I have the following in the AdminCP Order.

1 - All infantry ranks

2 - Aviation Ranks

3 - Specialist Ranks 

4 - Other

The problem we have is that on the personnel roster is that the ranks do not seem to follow the order that it is listed in the AdminCP, for instance an SPC7 is showing above a 1LT. With the 1LT Been the top of the list in 'All Infantry Ranks' and SPC7 Been 3rd in the list in the Specialist category. I looked in the database and saw that the Ranks Order is not sequential and seems to reset the number for each category so we have 4 ranks with the order id of 1. Is there anyway of having this so you can manually set which rank should be highest on the Personnel Files roster? Or alternatively is there a way for us to manually set the rank order ID? 

Thanks

Link to comment
Share on other sites

  • Administrators

@Ashton, it appears everything is working correctly. Ranks only sort against other ranks in the same category. There’s no way for them to be able to tell their sorting against another rank in another category. They are essentially in their own environment. 

Owner
Deschutes Design Group LLC
email | jon@deschutesdesigngroup.com

Link to comment
Share on other sites

@Jon Erickson so I managed to get around it manually by changing the rank ids to be sequential on the database table. This seems to have fixed the issues, i guess ours was more of a special case. It seems manually assigning the id's to be sequential across the categories also still allowed to promotion system etc to work as normal. 

I guess what we needed was sorting across all categories.. however, manually doing it wasnt an issue and we rarely change our rank structure so I will just manually change them if ever needed.

Thanks anyway dude!

 

Link to comment
Share on other sites

  • Administrators

Hey @Ashton, the ranks are not sorted based off their ID, but rather on the 'order' column. For example, a rank can have an order of '1' in one category, and an order of '1' in another category which makes it difficult to differentiate between categories. This is the default behavior of IPB.

Owner
Deschutes Design Group LLC
email | jon@deschutesdesigngroup.com

Link to comment
Share on other sites

On 7/31/2020 at 12:12 AM, Jon Erickson said:

Hey @Ashton, the ranks are not sorted based off their ID, but rather on the 'order' column. For example, a rank can have an order of '1' in one category, and an order of '1' in another category which makes it difficult to differentiate between categories. This is the default behavior of IPB.

Yeah when I said the Rank_id column and I actually meant the order column (had been a long day when I posted that!) so I made the sort order become sequential across the categories as a way around.. seems to be working fine. Like I said, however, this was just a special case kind of thing to see if I could get it to work the way we required ?

Link to comment
Share on other sites

14 minutes ago, Jon Erickson said:

@Ashton, just be aware, if you adjust the order through the ACP GUI, your custom order ID's will all reset to default ?‍♂️

Yeah im aware of that.. Im the only person with access to change the Rank order so ill just edit the DB directly if i need to change it ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.