Fix network device description/machinenotes display and edit
- Fix ADO cursor issue where reading rs("description") twice caused
empty values (IsNull check consumed the field value)
- Change all device pages to read description field once using
`description = rs("description") & ""` pattern
- Add deviceDescription variable in displaydevice.asp
- Fix machinetypeid mapping: IDF=17, Camera=18 (was swapped)
- Add model dropdown fix to include currently assigned model
- Add server application tracking feature
- Various other improvements and fixes
Files affected:
- displaydevice.asp, displaylocationdevice.asp
- deviceaccesspoint.asp, deviceserver.asp, deviceswitch.asp
- devicecamera.asp, deviceidf.asp
- savenetworkdevice.asp, networkdevices.asp
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -104,11 +104,17 @@
|
||||
<th style="width: 150px;">Description:</th>
|
||||
<td><%=Server.HTMLEncode(rs("shortdescription") & "")%></td>
|
||||
</tr>
|
||||
<%
|
||||
' Display Topic if present
|
||||
If NOT IsNull(rs("appid")) AND rs("appid") <> "" Then
|
||||
%>
|
||||
<tr>
|
||||
<th>Topic:</th>
|
||||
<td><a href='./displaytopic.asp?appid=<%=rs("appid")%>'><%=Server.HTMLEncode(rs("appname"))%></a></td>
|
||||
<td><a href='./displayapplication.asp?appid=<%=rs("appid")%>'><%=Server.HTMLEncode(rs("appname") & "")%></a></td>
|
||||
</tr>
|
||||
<%
|
||||
End If
|
||||
|
||||
' Check if article has a URL link
|
||||
If linkUrl <> "" Then
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user