aliens

Author Topic: [DONE][Suggestion] QoL: Ability to sort Funding Countries list  (Read 1654 times)

Offline DoxaLogos (JG)

  • Colonel
  • ****
  • Posts: 358
  • Squaddie cautiously peering through the breach
    • View Profile
[DONE][Suggestion] QoL: Ability to sort Funding Countries list
« on: February 19, 2023, 10:26:22 pm »
Hey o,

Been a while since I played this game and getting back into some X-com files again.  Love a lot of the updates in both mod and OXCE and I'm glad to see some of my changes (jgatkinsn) still exist like the Research overview and hide items in purchase screen.

Anyway, I was looking at the Internation Funding list and found myself wanting a better way to find the countries providing the most funding.  I noticed that the list isn't sortable, and I wanted to request a feature to at least have the list sorted by funding amount (i.e. descending order).   Just to make it easier to find who are the top donators. 

Other plus would be to sort based on most change in funding.

Anyway, just a nice little option if it ever gets added.  Maybe I'll pull out the code editor and make a PR... who knows :)

Later
« Last Edit: February 21, 2023, 05:59:05 pm by Meridian »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Suggestion] QoL: Sort International Funding List
« Reply #1 on: February 24, 2023, 11:24:30 am »
Seconded. Not much to say about it, I've just always kind of wanted this feature.

Offline ontherun

  • Colonel
  • ****
  • Posts: 394
  • public troll no. 1
    • View Profile
Re: [Suggestion] QoL: Sort International Funding List
« Reply #2 on: December 08, 2023, 02:44:46 am »
Yes, simple and useful  ::)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: [DONE][Suggestion] QoL: Ability to sort Funding Countries list
« Reply #3 on: December 30, 2023, 04:58:35 pm »
Done.

https://github.com/MeridianOXC/OpenXcom/commit/472398e9b1a23ff7c68cf5ec9cf991ef9279b2fb

PS: also funding change equal to $0 is now displayed as green, not golden (same as OG UFO, but also because it looks nicer)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE][Suggestion] QoL: Ability to sort Funding Countries list
« Reply #4 on: January 01, 2024, 12:57:31 pm »
That looks very nice. Thank you, Meridian!