Needs review
Project:
Fine Image Upload
Version:
3.0.1-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2024 at 14:28 UTC
Updated:
11 May 2026 at 15:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
akhouryComment #3
shevgenyThe module without the patch doesn't sort images at all, with the patch - it sometimes sorts, sometimes doesn't.
Comment #4
liukevich commentedHello! I solved the problem this way. (Drupal 10.2.3)
Edit file: "modules/fiu/templates/fine-image-widget.html.twig"
After (~38 lines):
Add:
Comment #7
rishabjasrotia commentedComment #8
divya.sejekan commentedTried with both MR's , The changes are not reflected . Still the sort is not working
Comment #9
rishabjasrotia commentedHello @divya.sejekan please use the latest patch added I have tested it in plain drupal setup.
It is working as needed.
Comment #10
rishabjasrotia commentedComment #11
gfarishyan commentedI'm attaching file which will fix issue not only when _weight is a select but also when it's input.
Also _weight field should be excluded in fine-image-widget.html as drupal data already renders it.
Comment #12
divya.sejekan commentedPatch in #11 seems to work -> fiu-re-order-5.patch . The order of the image is changeable and sorting works , and is displayed the same in view page
RTBC++