Keyword

[SOLVED] order of values of extra_fields

  • natanja
  • natanja's Avatar Topic Author
  • Offline
  • New Member
More
8 years 6 months ago #153996 by natanja
order of values of extra_fields was created by natanja
Hello there,

I have a problem, and it is there for as long as I am using K2, but I was wondering if it would be fixed in K2 version 2.7.0. or later in version 3.0 because it is really driving me, but also my clients, nuts! Maybe there is a workaround?

Here is the problem: in my extra-field I have 10 values, let's say for example: value 1, value 2, value 3, value 4, value 5, value 6, value 7, value 8, value 9, value 10. This extrafield I use in multiple items. Because I never use value 4, I removed it. Now all my articles which used to have value 6 have now value 5, items who used to have value 7 now have value 6 and so on.. So all the values after value 4 have moved a place because I removed this option... So now I have to change my extra-field for more then 100 items because I removed this value 4.

I think it has to do with how it is saved in the database? Can I change this? Wil this be better in version 3 of k2? I tried in version 2.7.0. but I have the same problem. I read a workaround like: "don't remove any values" but since my client uses a lot of values he likes the have it organised and removes not used options...

I hope it can be fixed somehow!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #154076 by Krikor Boghossian
Replied by Krikor Boghossian on topic order of values of extra_fields
Hello Natanja, and thank you for reporting this.
We will try to correct it in the next version.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Elite Member
More
8 years 6 months ago #154107 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic order of values of extra_fields
Hello Natanja,
We have just commit a fix for the issue you mentioned. Check out the following link

github.com/getk2/k2/commit/b6cb88d73d5150bc923dd79656f262ffb5c4989b

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum