Skip to content

Commit

Permalink
Disable the project selector so the list view will render
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Apr 26, 2013
1 parent 41ec843 commit 46e8a14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/Joomla/Tracker/Components/Tracker/Model/IssuesModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ protected function loadState()

$input = Factory::$application->input;

$projectId = $input->getUint('project_id');
// TODO: Remove the default 1 after the session stuff is working again
$projectId = $input->getUint('project_id', 1);

/*if (!$projectId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@

?>
<form action="<?php echo htmlspecialchars('index.php'); ?>" method="post" name="adminForm" id="adminForm" class="form-inline form-search">
<?php if (!$this->project) : ?>
<div class="btn-group pull-left">
<?php //if (!$this->project) : ?>
<!-- <div class="btn-group pull-left">
<h2>Please select a project</h2>
<?php //echo JHtmlProjects::select(0, '', 'onchange="document.adminForm.submit();"') ?>
</div>
<?php else : ?>
</div> -->
<?php //else : ?>

<div class="filters btn-toolbar clearfix">
<div class="filter-search btn-group pull-left input-append">
Expand Down Expand Up @@ -96,7 +96,7 @@
</td>
<td class="hasContext">
<div class="hasTooltip" title="<?php //echo JHtml::_('string.truncate', $this->escape($item->description), 100); ?>">
<a href="index.php?option=com_tracker&view=issue&id=<?php echo (int) $item->id;?>">
<a href="issue/<?php echo (int) $item->id;?>">
<?php echo $this->escape($item->title); ?></a>
</div>
<?php if ($item->gh_id || $item->jc_id) : ?>
Expand Down Expand Up @@ -160,6 +160,6 @@
</tbody>
</table>
<?php //echo $this->pagination->getListFooter(); ?>
<?php endif; ?>
<?php //endif; ?>
<input type="hidden" name="task" />
</form>

0 comments on commit 46e8a14

Please sign in to comment.