Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Well, didn't like the 'older polls' link and removed it, also added sorting the results.. but only as a quick hack.
Now today i finished this patch, i'm not totally sure about all strings and about the poll_update_7000 naming so comments appreciated. It's running live without PHP errors on hfopi.org at least.
Comment | File | Size | Author |
---|---|---|---|
#7 | issue-295958-7.patch | 7.88 KB | lilou |
#4 | poll-module-add-sorting-and-link-visibility-options.patch | 7.25 KB | eMPee584 |
poll-module-add-options.patch | 5.8 KB | eMPee584 | |
Comments
Comment #1
lilou CreditAttribution: lilou commentedComment #2
eMPee584 CreditAttribution: eMPee584 commentedBe the first to review this patch and you might win a two-week trip to the carribean sea on one of our luxurious cruise liners! Or not, maybe.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedThe last submitted patch failed testing.
Comment #4
eMPee584 CreditAttribution: eMPee584 commentedNew bigger better patch revision.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedThe last submitted patch failed testing.
Comment #6
lilou CreditAttribution: lilou commentedYour patch fail since #332123: Remove t() from all schema descriptions commit.
Comment #7
lilou CreditAttribution: lilou commentedReroll ;-)
Comment #8
catchpollslink and sortresult shouldn't be munged together like this. Also, this should come with test - and probably a screenshot for easier review of the functionality.
Comment #9
eMPee584 CreditAttribution: eMPee584 commentedCatch would you mind adding a tiny bit of in-detail information about what you mean by shouldn't be munged together, thanks.
Comment #10
catcheMPee584, sorry, I meant we usually do $polls_link and $sort_result.
Comment #11
eMPee584 CreditAttribution: eMPee584 commentedok that cleared, another thing: is there any other patch adding this or similar functionality to polls module i am not aware of? If not, i'll separate both features and submit them.
Comment #12
catchI'm not aware of any. And yes, if the patch can be split into two smaller ones, that's a good idea.
Comment #13
eMPee584 CreditAttribution: eMPee584 commentedwell ok.. but thinking of it, i am still not sure if the setting to show or hide the link to older polls should be a property of the poll node or a per block/ general setting...
Comment #14
Jooblay.net CreditAttribution: Jooblay.net commentedWhat is the status of this ticket:) Can we close this...