You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we dont have a way to get a list of all projects available on BackdropCMS.org. The closest is calliing installer_browser_fetch_results() with a high items_per_page (9999 for example).
Even then this can only return one project type (9999 modules for example).
if ($type != 'all') {
// Filter out projects based on type unless all types were requested.
if (isset($filters['type'])) {
$query->condition('n.type', 'project_' . $filters['type']);
}
}
This would allow installer_browser_fetch_results(array('items_per_page' => 'all', 'type' => 'all')) for example.
Note that Drupal has opted to do a 4 times a day dump of this info to file since there are many many more projects there than we have (we're up to 991 total as of today).
The text was updated successfully, but these errors were encountered:
PR enables: installer_browser_fetch_results() returns all projects of all types. installer_browser_fetch_results(array('type' => 'modules')) returns all modules.
This was mentioned here backdrop/backdrop-issues#5845
and here #870
Currently we dont have a way to get a list of all projects available on BackdropCMS.org. The closest is calliing
installer_browser_fetch_results()
with a highitems_per_page
(9999 for example).Even then this can only return one project type (9999 modules for example).
We can fix this by skipping the query filter in borg_pbs_project_browser_server_query(). So:
And optionally skipping the
type
query:This would allow
installer_browser_fetch_results(array('items_per_page' => 'all', 'type' => 'all'))
for example.Note that Drupal has opted to do a 4 times a day dump of this info to file since there are many many more projects there than we have (we're up to 991 total as of today).
The text was updated successfully, but these errors were encountered: