Move network module to src/

- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
This commit is contained in:
Hypolite Petovan 2020-10-13 00:23:17 -04:00
parent 9537a6d0f7
commit 4d15cc01e2
7 changed files with 609 additions and 7 deletions

View file

@ -501,7 +501,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o
$writable = false;
}
if (in_array($mode, ['network-new', 'search', 'contact-posts'])) {
if (in_array($mode, ['filed', 'search', 'contact-posts'])) {
/*
* "New Item View" on network page or search page results
@ -548,7 +548,7 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o
$location_html = $locate['html'] ?: Strings::escapeHtml($locate['location'] ?: $locate['coord'] ?: '');
localize_item($item);
if ($mode === 'network-new') {
if ($mode === 'filed') {
$dropping = true;
} else {
$dropping = false;