Summary:

It should be possible to specify the number of search results to show per page (default 10). The proposed solution adds an extra option in /admin/config/search/pages and allows changing the results limit.

Proposed Solution

See core patch
Thanks @mitthukumawat for the screenshots and illustrations and for testing this functionality.

Before:
before

New setting:
New setting click to see full image

Configuration export:
Config export

Default value:
Default value

Remaining tasks

Core committer review.

CommentFileSizeAuthor
#98 interdiff-702940-95-to-98.txt1.36 KBjoseph.olstad
#98 D9.3-search-result_limit_configurable-702940-98.patch8.58 KBjoseph.olstad
#97 interdiff-702940-95-to-97.txt1.36 KBjoseph.olstad
#97 D9.3-search-result_limit_configurable-702940-97.patch1.36 KBjoseph.olstad
#95 D9.3-search-result_limit_configurable-702940-95.patch8.54 KBjoseph.olstad
#91 interdiff-D9.3-702940-87-91.txt1.35 KBjoseph.olstad
#90 D9.3-search-result_limit_configurable-702940-90.patch8.57 KBjoseph.olstad
#90 interdiff-D9.3-702940-87-90.txt2.08 KBjoseph.olstad
#88 D9.0-search-result_limit_configurable-702940-87.patch9.38 KBjoseph.olstad
#88 interdiff-D9.0-702940-84-87.txt3.06 KBjoseph.olstad
#88 D9.3-search-result_limit_configurable-702940-87.patch8.57 KBjoseph.olstad
#88 interdiff-D9.3-702940-84-87.txt1.35 KBjoseph.olstad
#84 D9.0-search-result_limit_configurable-702940-84.patch8.47 KBjoseph.olstad
#84 interdiff-D9.0-702940-76-84.txt1.52 KBjoseph.olstad
#84 D9.3-search-result_limit_configurable-702940-84.patch8.52 KBjoseph.olstad
#84 interdiff-D9.3-702940-79-84.txt1.17 KBjoseph.olstad
#80 Results field default value.png220.93 KBmitthukumawat
#80 Configuration export of search.settings.png142.04 KBmitthukumawat
#80 Item per page setting.png93.65 KBmitthukumawat
#80 Before patch picture.png117.73 KBmitthukumawat
#79 D9.3-search-result_limit_configurable-702940-79.patch8.52 KBjoseph.olstad
#79 interdiff-D9.3-702940-76-79.txt668 bytesjoseph.olstad
#77 D9.3-search-result_limit_configurable-702940-77.patch8.5 KBjoseph.olstad
#76 interdiff-D9.0-702940-74-76.txt791 bytesjoseph.olstad
#76 D9.0-search-result_limit_configurable-702940-76.patch8.45 KBjoseph.olstad
#75 re-rolled-702940-75.patch16.01 KBgauravvvv
#75 interdiff_74-75.txt555 bytesgauravvvv
#74 D9.3-search-result_limit_configurable-702940-74.patch8.5 KBjoseph.olstad
#74 D9.0-search-result_limit_configurable-702940-74.patch8.49 KBjoseph.olstad
#74 interdiff-D9.0-702940-73-74.txt3.04 KBjoseph.olstad
#74 interdiff-D9.3-702940-73-74.txt3.04 KBjoseph.olstad
#73 interdiff-D9.3-702940-72-73.txt2 KBjoseph.olstad
#73 D9.3-search-result_limit_configurable-702940-73.patch7.82 KBjoseph.olstad
#73 D9.0-search-result_limit_configurable-702940-73.patch7.82 KBjoseph.olstad
#73 interdiff-D9.0.x-702940-72-73.txt4.51 KBjoseph.olstad
#72 D9.0-search-result_limit_configurable-702940-71.patch7.53 KBjoseph.olstad
#72 interdiff-D9.3.x-702940-71-72.txt890 bytesjoseph.olstad
#72 D9.3-search-result_limit_configurable-702940-72.patch7.83 KBjoseph.olstad
#71 D9.3-search-result_limit_configurable-702940-72.patch7.53 KBjoseph.olstad
#71 D9.0-search-result_limit_configurable-702940-72.patch7.52 KBjoseph.olstad
#70 D9.0-search-result_limit_configurable-702940-70.patch7.54 KBjoseph.olstad
#69 D8.9.x-search-result_limit_configurable-702940-68.patch7.92 KBjoseph.olstad
#67 D9.3.x-search-result_limit_configurable-702940-67.patch7.54 KBjoseph.olstad
#51 search-result_limit_configurable-702940-51.patch8.92 KBswentel
#43 search-result_limit_configurable-702940-43-tests-only.patch1.99 KBParisLiakos
#43 search-result_limit_configurable-702940-43.patch4.79 KBParisLiakos
#40 search-result_limit_configurable-702940-40.patch2.79 KBParisLiakos
#36 702940-make_search_result_limit_configurable-35.patch3.31 KBParisLiakos
#34 702940-make_search_result_limit_configurable-34.patch2.83 KBParisLiakos
#32 702940-make_search_result_limit_configurable-32.patch2.78 KBParisLiakos
#31 702940-make_search_result_limit_configurable-31.patch2.82 KBParisLiakos
#28 702940-make_search_result_limit_configurable-28.patch2.83 KBParisLiakos
#18 702940.patch1.23 KBdouggreen
#8 user.module.patch468 bytesselvakumar
#8 node.module.patch395 bytesselvakumar
#8 search.install.patch376 bytesselvakumar
#8 search.admin_.patch1.13 KBselvakumar

Comments

jhodgdon’s picture

Version: 7.x-dev » 8.x-dev
Category: task » feature

This is a great idea, but it is too late to change Drupal 7, much less Drupal 6, for this new feature.

colan’s picture

Status: Needs work » Active

iosif.peterfi: It would be great if you could still provide the patch for D6 here. The solution for D5, which looks to be quite similar, is posted over at #166814: Change the number of results in search (which I've marked as a duplicate of this issue).

colan’s picture

Title: Number of search results per page » Configure the number of search results per page
dww’s picture

Status: Active » Closed (duplicate)
jhodgdon’s picture

Status: Closed (duplicate) » Active

I'd like to leave this open, specifically for the search module, for Drupal 8.

a) That issue may never be fixed in D8, who knows.
b) That issue mostly is for admin pages.
c) That issue proposes to create globals or variables and leave the settings pages to contrib modules.

The number of search results, IMO, since it is a visitor-facing and visitor-experience issue, needs a config setting exposed in core, on the search settings page.

brian_c’s picture

Kinda stunning that "10 results per page" is hard-coded into Drupal core, with no way of changing it. (Especially since it seems this was identified nearly 5 years ago: http://drupal.org/node/33809)

Is there really no chance of adding a new hook or config setting into D6 or D7 that applications could modify, which would simply default to 10 for all existing sites?

jhodgdon’s picture

D6 - no chance.
D7... As this is a feature request, you would need to get approval from Dries or webchick that this exception to the development process could be made, before I would even bother to make a patch. And in my opinion, the way to do it would be to make a setting that should go onto the Search settings page.

selvakumar’s picture

Version: 8.x-dev » 7.0-beta2
StatusFileSize
new1.13 KB
new376 bytes
new395 bytes
new468 bytes

This is for D7 patch files. I fixed this change request. Kindly apply this patches.... Changes are made in the following files...
user.module
node.module
search.admin.inc - Kindly replace --- symbols to +++, and +++ to ---
search.install - Kindly replace --- symbols to +++, and +++ to ---

jhodgdon’s picture

Version: 7.0-beta2 » 8.x-dev

Sorry. This is a *new feature*. Drupal 7 is frozen for new features -- it is in beta release, and new features have not been accepted for several months. Please leave this as a Drupal 8 issue.

asb’s picture

sub

2dareis2do’s picture

Version: 8.x-dev » 6.20

Yes,

I read somewhere that patching drupal was really not recommended but I too would be interested in this patch. Just to clarify, does it:

1. Adjust the amount of nodes to display on a search results page?
2. Adjust the pager to reflect this changes?

(FYI The problem I have is that when printing the search results in Firefox, they seem to mess up and the one page seems to be printed across three - very messy. This patch would allow me to reduce the amount of results on a page and therefore print correctly in Firefox.)

jhodgdon’s picture

Version: 6.20 » 8.x-dev

Please do not change the version again! See comment #9. Thanks.

2dareis2do’s picture

Please read my question again! I was asking if the patch is available for drupal 6 and if so where do I get it from?

I have no intention of changing the version again and accept that this change will only be available in Drupal 8. I see the patch for 7 but cannot see the one for 6!

jhodgdon’s picture

I don't know of anyone making a patch for Drupal 6. It will never get added to Drupal 6, so probably not (new features are now material for Drupal 8). Sorry!

Just to clarify, you can feel free to ask questions about Drupal 6 on any issue, but changing the Version on the issue is not as welcome. (When you change the Project, Version, Component, etc. above the Comment field, you are changing it for the entire issue, not just for your comment.)

ñull’s picture

Break the tradition! I want a release for 6. This issue (a duplicate of it) is 7 years old and I think an obvious setting as this deserves a backport.

colan’s picture

If you want a patch for 6, they you'll probably either have to write it yourself, or pay someone to do it. Core developers generally only work in later releases.

If you want better paging now, do it with Views.

brian_c’s picture

Yeah just use Views, you can setup a "Search Terms" exposed filter, that works directly off Drupal's search index. Presto, instant search engine, fully customizable.

douggreen’s picture

Title: Configure the number of search results per page » Make the the number of search results per page settings configurable
StatusFileSize
new1.23 KB

IMO, we should replace all calls to limit() in core with hard coded numbers, to use variables. But such a patch might be harder to get accepted, so I think that just fixing this for search is a good start. Attached is an updated patch.

douggreen’s picture

Status: Active » Needs review
ParisLiakos’s picture

Status: Needs review » Needs work

@douggreen so far so good,but shouldnt the setting be exposed in search settings UI as well?

agileware’s picture

Subscribing

alan d.’s picture

For D7 users plus, I've just implemented this in the search config module. Checkout from dev.

Positive feedback about this and the individual node search restrictions will help push out 7.x-1.1 release.

cabita’s picture

Status: Needs work » Needs review

#8: user.module.patch queued for re-testing.

rcross’s picture

Issue tags: +DrupalWTF

I can't believe this hasn't been addressed since D5! and pushing it off to this other issue ([#33809: Make pagers not suck]) is just forcing this to be a dead end instead of just providing a fix.

rcross’s picture

for reference #166814: Change the number of results in search has a patch for D6

ParisLiakos’s picture

Issue tags: -DrupalWTF

#18: 702940.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +DrupalWTF

The last submitted patch, 702940.patch, failed testing.

ParisLiakos’s picture

Status: Needs work » Needs review
StatusFileSize
new2.83 KB

Attached patch that addresses #20 and uses the new config system as well

ParisLiakos’s picture

would be good if someone reviews this before feature freeze..if we want to get this in drupal 8..

rcross’s picture

looks good to me.

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.82 KB

Rerolled and rtbcing. It is pretty straightforward. Thanks rcross

ParisLiakos’s picture

Sorry, meant to remove min and max parameters. Someone might need to display more than 100 results

alan d.’s picture

Status: Reviewed & tested by the community » Needs work

Good practice not to rtbtc your own patches :)

The number field validation function form_validate_number() passes if the field is empty. This would probably (?) cause issues1, so mark this field as required. Also using '#min' => 1 would also prevent crazy things if -1 or 0 were entered.

1 For example, PostgreSQL is more sensitive to garbage values being passed to it than MySQL.

ParisLiakos’s picture

Status: Needs work » Needs review
StatusFileSize
new2.83 KB

;)
Thanks Alan, patch attached that addresses #33

Status: Needs review » Needs work

The last submitted patch, 702940-make_search_result_limit_configurable-34.patch, failed testing.

ParisLiakos’s picture

missed a comma

ParisLiakos’s picture

Status: Needs work » Needs review
vimalgoradiya’s picture

ParisLiakos’s picture

ParisLiakos’s picture

Reroll

xjm’s picture

Issue tags: +Needs tests
ParisLiakos’s picture

ok, someone in irc mentioned that we need some tests to get this rtbc

Edit Also beated me when adding tag

ParisLiakos’s picture

pit_zavra’s picture

Status: Needs review » Reviewed & tested by the community
catch’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Usability

I'm not sure we should add a separate setting for this. the search results listing could be provided by a view, and then would be configurable for more things than this separately. Moving back to CNR and tagging usability.

catch’s picture

Issue tags: -Usability +VDC

Also VDC tag.

jibran’s picture

Issue tags: -DrupalWTF, -VDC

Status: Needs review » Needs work
Issue tags: +DrupalWTF, +VDC

The last submitted patch, search-result_limit_configurable-702940-43.patch, failed testing.

jibran’s picture

Issue tags: +Needs reroll

Tagging.

klonos’s picture

I think we should postpone this on #2083717: Convert Search Results to Views (or close it as a duplicate or even make the other issue a META and this one one of its sub-issues).

swentel’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new8.92 KB

reroll - couldn't make any decent interdiff out of this

jhodgdon’s picture

Status: Needs review » Needs work

Thanks! This is looking pretty good.

I have a few comments:

a)

+    // Results per page.
+    $form['results']['results_limit'] = array(
+      '#title' => t('Results per page'),
+      '#type' => 'number',
+      '#default_value' => $this->searchSettings->get('results_limit'),
+      '#description' => t('Number of results per page.'),
+      '#min' => 1,
+      '#required' => TRUE,
+    );

Can we just change the title to "Number of results per page" and cut out the description? We went to some lengths in #1559244: Clean up search settings page to clean up the search settings page, and this is exactly the type of clutter that we don't need. Actually, that other issue still needs a review. :)

b)

+    $this->assertNoLinkByHref('page=2', '3th page link is not found for keyword search.');

3th --> 3rd

c) I'd also like to call your attention to
#2123073: Move index.cron_limit setting to NodeSearch
The intent there is to decouple search.settings from node.module... so we might want to pass in the number of results per page as an argument to execute(), or else make Node and User search plugins have separate settings.

d) I think we need a test for User search too. It's interesting to me that the User module apparently was using 15 results per page, while Node was using 10. So probably the right fix for (c) is to make the setting plugin-specific.

ianthomas_uk’s picture

Issue summary: View changes
Status: Needs work » Postponed
Related issues: +#2042807: Convert search plugins to use a ConfigEntity and a PluginBag

This will need to wait for #2042807: Convert search plugins to use a ConfigEntity and a PluginBag (shouldn't be long now)

jhodgdon’s picture

Status: Postponed » Needs work
Issue tags: -VDC

Other issue is taken care of. This is not related to Views.

And by the way this should be configured in the Node/User search plugin, not on the main search settings, I think?

jhodgdon’s picture

Version: 8.0.x-dev » 8.1.x-dev

Since 8.0.x-beta1 has been released, our policy at this point is No feature requests until 8.1.x. See #2350615: [policy, no patch] What changes can be accepted during the Drupal 8 beta phase?. Sorry, it's just too late for 8.0.x at this point, so even if we had a viable patch, the core committers would not commit it. So unless we decide this is a Task or a Bug (and I don't think it is), we'll have to delay it.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

joseph.olstad’s picture

joseph.olstad’s picture

Status: Needs work » Needs review
Issue tags: -DrupalWTF
joseph.olstad’s picture

backport to D8.9.x
, for 9.3.x, see 66

joseph.olstad’s picture

backport to D9.0.x
, for 9.3.x see 66

joseph.olstad’s picture

D9.0.x with PHPLint fixes
and
D9.3.x with PHPLint fixes

joseph.olstad’s picture

D9.0.x with PHPLint fixes
and
D9.3.x with PHPLint fixes

joseph.olstad’s picture

D9.0.x with PHPLint fixes
and
D9.3.x with PHPLint fixes

see interdiff.

joseph.olstad’s picture

Hmm,I actually got something to work.

I'm still reviewing the patch.

Big thanks to those above that created the original patch.

was a challenging reroll though!

gauravvvv’s picture

StatusFileSize
new555 bytes
new16.01 KB

Re-rolled patch #74. Please review. fixed the custom command failed.

joseph.olstad’s picture

Thanks @Gauravmahlawat

One more (for my 9.0 site)

joseph.olstad’s picture

Here's a fix for 9.3 from comment #75

some unrelated stuff went into 75

here's the clean version. same interdiff as 75

Status: Needs review » Needs work
joseph.olstad’s picture

Status: Needs work » Needs review
StatusFileSize
new668 bytes
new8.52 KB

new patch for the win

mitthukumawat’s picture

I have tested patch #79 manually and it is working as expected in drupal 9.3.x-dev version.
I can see the Results per page field in Results fieldset on search configuration page.
The results per page is configured successfully and this value being available to export in search.settings
Adding screenshot of testing results.

Status: Needs review » Needs work
joseph.olstad’s picture

thanks @mitthukumawat

just need to fix the one remaining fail

joseph.olstad’s picture

Assigned: Unassigned » joseph.olstad
Status: Needs work » Active

Rolling a new patch

joseph.olstad’s picture

Status: Active » Needs review

Status: Needs review » Needs work
joseph.olstad’s picture

Status: Needs work » Needs review
StatusFileSize
new1.35 KB
new8.57 KB
new3.06 KB
new9.38 KB

Trying again

joseph.olstad’s picture

joseph.olstad’s picture

StatusFileSize
new1.35 KB

new interdiff

joseph.olstad’s picture

Assigned: joseph.olstad » Unassigned

Yay! passing!

joseph.olstad’s picture

Thanks @mitthukumawat for the screenshots and illustrations and for testing this functionality.

Before:
before

New setting:
New setting click to see full image

Configuration export:
Config export

Default value:
Default value

joseph.olstad’s picture

joseph.olstad’s picture

Title: Make the the number of search results per page settings configurable » Number of results per page
StatusFileSize
new8.54 KB

Needs a reroll yet again. After over 11 years, I think it's time to get this one done.

I also am adressing the core maintainers comment from comment number 52

see new patch

Status: Needs review » Needs work
joseph.olstad’s picture

Title: Number of results per page » Make the number of results per page configurable
Status: Needs work » Needs review
StatusFileSize
new1.36 KB
new1.36 KB

Ooops

joseph.olstad’s picture

joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

RTBC based on review in #702940-80: Add option 'Items per page' on admin/config/search/pages

Reroll was for recent changes to the test code. (this week).

Thanks for the quick review by @mitthukumawat.

joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

joseph.olstad’s picture

Issue summary: View changes
quietone’s picture

Status: Reviewed & tested by the community » Needs work

I haven't read the issue, just taken a brief look a the patch.

+++ b/core/modules/node/src/Plugin/Search/NodeSearch.php
@@ -309,6 +309,8 @@ protected function findResults() {
+    $limit = is_null($this->searchSettings->get('results_limit')) ? 10 : $this->searchSettings->get('results_limit');

+++ b/core/modules/search/src/SearchPageListBuilder.php
@@ -255,6 +255,19 @@ public function buildForm(array $form, FormStateInterface $form_state) {
+      '#default_value' => is_null($search_settings->get('results_limit')) ? 10 : $search_settings->get('results_limit'),

+++ b/core/modules/user/src/Plugin/Search/UserSearch.php
@@ -138,8 +150,10 @@ public function execute() {
+    $limit = is_null($this->searchSettings->get('results_limit')) ? 15 : $this->searchSettings->get('results_limit');

These can use the Null Coalesce operator.

And a questions, should the limits be defined in a constant?

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

johnv’s picture

Title: Make the number of results per page configurable » Add option 'Items per page' on admin/config/search/pages

Clarifying title.
Changing option name (in title, not (yet) in patch) to 'Items per page', to be aligned with Views pager options.
BTW, shouldn't all core pages be converted to Views?

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Needs work » Postponed

The Search Module was approved for removal in #3476883: [Policy, no patch] Move Search module to contrib .

This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.

The deprecation work is in #3565780: [meta] Tasks to deprecate the Search module and the removal work in #3565783: [meta] Tasks to remove the Search module.

Search will be moved to a contributed project before Drupal 12.0.0 is released.