Skip to content

Commit

Permalink
Sort search fields
Browse files Browse the repository at this point in the history
fixes #432
  • Loading branch information
dlangille committed Mar 22, 2023
1 parent 1f7e235 commit 8639f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -971,16 +971,16 @@ function WildCardQuery($db, $stype, $Like, $query) {
<OPTION VALUE="<?php echo SEARCH_FIELD_DEPENDS_LIB . '"'; if ($stype == SEARCH_FIELD_DEPENDS_LIB) echo ' SELECTED'; ?>>Depends Lib</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_DEPENDS_RUN . '"'; if ($stype == SEARCH_FIELD_DEPENDS_RUN) echo ' SELECTED'; ?>>Depends Run</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_DEPENDS_ALL . '"'; if ($stype == SEARCH_FIELD_DEPENDS_ALL) echo ' SELECTED'; ?>>Depends Build/Lib/Run</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_LONGDESCRIPTION . '"'; if ($stype == SEARCH_FIELD_LONGDESCRIPTION) echo ' SELECTED'; ?>>Long Description</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_LICENSE_PERMS . '"'; if ($stype == SEARCH_FIELD_LICENSE_PERMS) echo ' SELECTED'; ?>>LICENSE_PERMS</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_LICENSE_RESTRICTED . '"'; if ($stype == SEARCH_FIELD_LICENSE_RESTRICTED) echo ' SELECTED'; ?>>_LICENSE_RESTRICTED</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_LONGDESCRIPTION . '"'; if ($stype == SEARCH_FIELD_LONGDESCRIPTION) echo ' SELECTED'; ?>>Long Description</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_MAKEFILE . '"'; if ($stype == SEARCH_FIELD_MAKEFILE) echo ' SELECTED'; ?>>Makefile (ports only)</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_MAINTAINER . '"'; if ($stype == SEARCH_FIELD_MAINTAINER) echo ' SELECTED'; ?>>Maintainer</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_MANUAL_PACKAGE_BUILD . '"'; if ($stype == SEARCH_FIELD_MANUAL_PACKAGE_BUILD) echo ' SELECTED'; ?>>MANUAL_PACKAGE_BUILD</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_MESSAGEID . '"'; if ($stype == SEARCH_FIELD_MESSAGEID) echo ' SELECTED'; ?>>Message ID</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_PACKAGE . '"'; if ($stype == SEARCH_FIELD_PACKAGE) echo ' SELECTED'; ?>>Package Name</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_PKG_PLIST . '"'; if ($stype == SEARCH_FIELD_PKG_PLIST) echo ' SELECTED'; ?>>pkg-plist</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_PKG_MESSAGE . '"'; if ($stype == SEARCH_FIELD_PKG_MESSAGE) echo ' SELECTED'; ?>>pkg-message</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_PKG_PLIST . '"'; if ($stype == SEARCH_FIELD_PKG_PLIST) echo ' SELECTED'; ?>>pkg-plist</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_NAME . '"'; if ($stype == SEARCH_FIELD_NAME) echo ' SELECTED'; ?>>Port Name</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_SHORTDESCRIPTION . '"'; if ($stype == SEARCH_FIELD_SHORTDESCRIPTION) echo ' SELECTED'; ?>>Short Description</OPTION>
<OPTION VALUE="<?php echo SEARCH_FIELD_PATHNAME . '"'; if ($stype == SEARCH_FIELD_PATHNAME) echo ' SELECTED'; ?>>Under a pathname</OPTION>
Expand Down

0 comments on commit 8639f32

Please sign in to comment.