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.
Whenever I search for a config page for a specific module by using admin menu's search box, I always get two listings, the config page, and the issue queue. 99.6% of modules I will never need the issue queue for anything whatsoever, is there a way I can just hide all the issue queue listings? This slows down the ability to find a config page as there's always the link I'm looking for and there's always the useless link to slow me down. Any way to get rid of these? Thanks for the great module and best.
Patrick
Comment | File | Size | Author |
---|---|---|---|
#6 | XHProf_view.png | 77.67 KB | joelpittet |
#6 | way_to_hide_all_issue-2215945-6.patch | 2.28 KB | joelpittet |
#2 | admin_menu-2215945-2-hide_queue_links_from_search.patch | 1.16 KB | helmo |
Comments
Comment #1
plato1123 CreditAttribution: plato1123 commentedComment #2
helmo CreditAttribution: helmo commentedThis also annoyed me.
I see two ways:
1) In admin_menu.inc prevent the links from getting added to
2) Filter issue queue links from the search index.
I tried adding the selector
.admin-menu-icon li a:contains("Drupal.org")
to the buildSearchIndex js function, but failed.Adding an extra css class to the issuequeue links provides a way to select ... see patch.
I realize that this patch is not right for everyone... it's a start ... maybe we can make this a tweak-able option?
Comment #3
plato1123 CreditAttribution: plato1123 commentedThanks for the reply Helmo, I'll try out your patch. Is there still no official response from the makes of this module?
Comment #4
plato1123 CreditAttribution: plato1123 commentedHey guys, any chance we could get a checkbox to remove the "issue queue" listings? Thanks!!
Comment #5
rsvelko CreditAttribution: rsvelko commentedpatch is real simple and works
hunk 1 is already in dev
hunk 2 is not . I applied and tested and it works!
Please commit. Cause 99% of the time nobody needs the issue queue link from the search...
But to make everyone happy , a checkbox in admin_menu settings will do.
Comment #6
joelpittetHere's more perminent solution. I added an option under performance to hide the issue queues. Reason is that
drupal_parse_info_file()
is really slow loading when you have lots of modules.In my case 1.5 seconds, see screenshot from XHProf
Comment #7
helmo CreditAttribution: helmo at Initfour websolutions commentedThanks @joelpittet, #6 works great.
Comment #8
joelpittet6 month rtbc bump
Comment #9
das-peter CreditAttribution: das-peter at Cando commentedJust did some profiling and identified this as a possible tweak too.
Patch looks good and does what it promises - confirmed RTBC from my side.
Comment #10
joelpittetRTBC bump
Comment #12
truls1502Fixed and added patch #6 in 7.x-3.x-dev