For react-carousel, how can i update it so it's sorted/ordered by a new column i added? #1695
-
Hello, I have been updating 'react-carousel' webpart to accommodate several requests i have been receiving. One last remaining thing is to sort and display images by a new column 'Order' i added to each file(pictures). However, it just continues to order it by 'Id' instead of 'Order'...
Could someone please guide me to how i can troubleshoot this issue? I have been stuck on this "simple" problem for hours after hours, and can't get myself to resolve this. Thank you very much in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @edwardNuvision, |
Beta Was this translation helpful? Give feedback.
Hi @edwardNuvision,
Have you found the solution to your issue?
It looks like
Order
is one of the default fields of a Document Library item.Please check again the internal name of your new column. I'm guessing it might be
Order0
becauseOrder
already exists.Then try to use the actual internal name in your code. It should be working as expected.