Commits

Hans van der Weij committed 4aef300

Correct bug 3 fix: Remove old code skipping disallowed states, update help

Comments (0)

Files changed (3)

catalog/biblio_copy_edit_form.php

     if (in_array($cd, $disallowed) && $cd != $postVars["statusCd"]) {
       continue;
     }
-    if (($dm->getCode() != OBIB_STATUS_OUT)
-      and ($dm->getCode() != OBIB_STATUS_ON_HOLD)
-      and ($dm->getCode() != OBIB_STATUS_SHELVING_CART)) {
-      echo "<option value=\"".H($dm->getCode())."\"";
-      if (($postVars["statusCd"] == "") && ($dm->getDefaultFlg() == 'Y')) {
-        echo " selected";
-      } elseif ($postVars["statusCd"] == $dm->getCode()) {
-        echo " selected";
-      }
-      echo ">".H($dm->getDescription())."</option>\n";
+    echo "<option value=\"".H($dm->getCode())."\"";
+    if (($postVars["statusCd"] == "") && ($dm->getDefaultFlg() == 'Y')) {
+      echo " selected";
+    } elseif ($postVars["statusCd"] == $dm->getCode()) {
+      echo " selected";
     }
+    echo ">".H($dm->getDescription())."</option>\n";
   }
   echo "</select>\n";
 ?>

locale/en/help/biblioCopyEdit.php

 <h1>Copy New and Edit Pages:</h1>
-<center><font class="error">Do not edit checked out copies 
-(<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162251&group_id=50071&atid=458474">
-Bug 1162251</a>).</font>
-</center>
 <br><br>
 
 Help Sub Sections:

locale/en/help/status.php

     <td class="primary" valign="top"></td>
   </tr>
   <tr>
-    <td class="primary" valign="top" rowspan="5">biblio info</td>
+    <td class="primary" valign="top" rowspan="3">biblio info</td>
     <td class="primary" valign="top">other<sup>*</sup></td>
     <td class="primary" valign="top">checked in</td>
     <td class="primary" valign="top"></td>
     <td class="primary" valign="top"></td>
   </tr>
   <tr>
-    <td class="primary" valign="top">checed in</td>
+    <td class="primary" valign="top">checked in</td>
     <td class="primary" valign="top">other<sup>*</sup></td>
     <td class="primary" valign="top"></td>
   </tr>
-  <tr>
-    <td class="primary" valign="top">on hold</td>
-    <td class="primary" valign="top">checked in</td>
-    <td class="primary" valign="top">Only allowed if hold queue for given copy is empty.</td>
-  </tr>
-  <tr>
-    <td class="primary" valign="top">on hold</td>
-    <td class="primary" valign="top">other<sup>*</sup></td>
-    <td class="primary" valign="top">Only allowed if hold queue for given copy is empty.</td>
-  </tr>
 </table>
 
 <font class="small">* - note: other includes damaged/mend, display, lost, on loan and on order status states.</font>