physical items don't need an "About this item" link.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sat, 2 Oct 2010 19:57:48 +0000 (19:57 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sat, 2 Oct 2010 19:57:48 +0000 (19:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1026 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/syrup/models.py

index 200d554..98ab28f 100644 (file)
@@ -596,7 +596,7 @@ class Item(BaseModel):
 
     def needs_meta_link(self):
         """Should an 'About' link be displayed for this item?"""
-        return self.item_type in ('ELEC', 'URL', 'PHYS')
+        return self.item_type in ('ELEC', 'URL')
 
     def item_url(self, suffix='', force_local_url=False):
         # I'm not fond of this being here. I think I'll leave this and