Quantcast
Channel: Issues for Drupal core
Browsing all 295264 articles
Browse latest View live
↧

Views Pager setting 'Items per page' with empty value gives WSOD

Problem/MotivationWhen creating a View with a pager, a WSOD appears if the pager setting 'items per page' is left empty. It leave the view unusable, an a new view must be created to resolve the...

View Article


Add pager to the list of Views on admin/structure/views

Follow-up to #2508966: List of Views limited to 50 itemsProblem/MotivationRight now, the list of views admin/structure/views is not working properly, look at #2508966: List of Views limited to 50...

View Article


Change field 'Global: View result counter' rendering, using double...

The global view result counter passes itself wrapped in double curly braces when rendered, rather than as an integer value. This patch fixes that by adding a render function in...

View Article

[META] Fix pager bug reports

Problem/MotivationAs a module maintainer, I experienced lots of trouble when implementing a Drupal\views\Plugin\views\filter\ManyToOne filter on a computed field. It modifies the results AFTER the...

View Article

Image may be NSFW.
Clik here to view.

Olivero Pager should use single directory components

Olivero's pager component should be using SDC. Let's migrate it. The current code lives in core/themes/olivero/templates/navigation/pager.html.twig

View Article


Reintroduce "Crawl-delay" in robots.txt

Problem/MotivationThe Crawl-delay setting was removed from Drupal 8's default robots.txt after having been in place for a long time in previous versions. This means the site doesn't place any limits on...

View Article

Create a headline SDC component for Feed Icon

Problem/MotivationThe project currently lacks a reusable "Feed Icon" component, resulting in inconsistent styling and redundant implementations across the site. Creating a standardized "Feed Icon" SDC...

View Article

Disallow crawling paths under /node by default in robots.txt

Problem/MotivationThe vast majority of sites use Pathauto, as seen by installs January 2025:Drupal core: 723,408 Pathauto: 514,780From https://www.drupal.org/project/usageGetting paths such as...

View Article


Remove trailing slashes from robots.txt

Problem/MotivationThe log-in pages for my Drupal sites are being indexed by google. I'm not sure if this is due to recent changes in how google handles the robots file, or spiders sites, but it seems I...

View Article


Forbid execution of PHP files in subfolders by default (except those needed...

Problem/MotivationDrupal uses the front controller pattern, meaning that all requests are handled by one entry point. This is index.php and some others like update.php or install.php. For a standard...

View Article

Setting #access = FALSE on a vertical tab does not prevent input processing...

Problem/MotivationWhen a form element of '#type' => 'vertical_tab' has '#access' => FALSE, none of the elements contained by that vertical tab are present in the submitted values.The docs for...

View Article

CSS files encoded in UTF-8 with BOM break the design when enabling CSS...

Beta phase evaluationReference: https://www.drupal.org/core/beta-changesIssue category"Bug" because common use case (SASS / Compass) is brokenIssue priority"Normal"Problem/MotivationIf a css file is...

View Article

Tests: hook_widget_info_alter() is not called anymore

Problem/Motivationhook_widget_info_alter() is not called anymore.Proposed resolutionAdd AlterDecorator to the discovery object used by WidgetPluginManager.Remaining tasksReview the patch.User interface...

View Article


Image may be NSFW.
Clik here to view.

Exposed filter for date field with offset not working as expected

Problem/MotivationWhen using a date/time filed as exposed filter using the "offset from the current time" setting, the filter doesn't display as I expected.The setting for the filter are:This leads to...

View Article

ENGINE_render_template() and ENGINE_extension() are undocumented

Reading through the following code was the only way I could see to learn about theme...

View Article


Try to simplify checks in AdminNegotiator

Problem/Motivation return ($this->entityTypeManager->hasHandler('user_role', 'storage') && $this->user- >hasPermission('view the administration theme') &&...

View Article

Views pager incorrect when programmatically removing entities from view results

I want to remove certain entities from the view results, before the view's pager is generated. I do not want to create a views filter, which would require manual interaction from the user inside the...

View Article


Pager has redundant "first" and "last" links when having...

The Drupal pager should remove redundant "first" and "last" links when displaying pagers that have fewer pages than the quantity limit (default: 9).Current pager*:first, previous, 1 2, 3, next, last...

View Article

Table sort ignores "field", always adds header title as order query...

If I create a sortable table with the following header definition then the rendered link of "Foo bar" table header contains the ?order=Foo%20bar instead of ?order=baz. $headers['foobar'] = [ 'data'...

View Article

Image may be NSFW.
Clik here to view.

"More link" option should have configurable target for views page...

Using the 'More' link on a view displays of type "page" can only link to itself.Steps to reproduce:Install Drupal and create some contentCreate a view with a page displayIn pager settings, enable the...

View Article
Browsing all 295264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>